Quote:
Second issue is that I am able to get rid of the ':' char in the time but now I am trying to convert it to a int. I have used a few ways and after reading several forums and googling my way through it, it comes back to std::stoi. However it is simply not working. Am I using it wrong? I thought it could be the way I was combining char but string are mutable and I never had a issue combining string like this in the past.
The stox() functions require a C++11 standard compiler, are you sure you're compiling with a compliant compiler? Why are you storing these entries into a string instead of storing them into integers when you process the file?