S
Sarath
I've a doubt on using lexical_cast
suppose if I have a string as follows.
string s( "123 456 789 1011 1213");
Can i separate the each numbers separated by space using lexical_cast?
I think it's not possible like it. Do we need to manually separate
each numbers using stringstream or any other parser classes?
suppose if I have a string as follows.
string s( "123 456 789 1011 1213");
Can i separate the each numbers separated by space using lexical_cast?
I think it's not possible like it. Do we need to manually separate
each numbers using stringstream or any other parser classes?