I have been searching everywhere before asking this, but have not found anything.
There’s no mention of it in my Schaums Programming with C++ Book that I’m self learning from either…
Using C++ how can you convert a string eg "0:03:22" to 3 separate int values of0, 03and22`? Assuming its possible.
something like
Here we are creating a stream, from which we can extract each element.
reference
http://en.cppreference.com/w/cpp/io/basic_stringstream