I have an input file that i make into a string, it looks like this
My problem is when i print the string it always prints as single characters
instead of 45 i get 4 5, how do i fix this. heres a small piece of the code.
cout<<string; //string content 1+2+3+45*5*2 int size=string.length(); cout<<string<<endl; cout<<string<<endl;
output is always 4