string manipulation, etc.
Ok, so i have to take this older program that i wrote and develop a new input style for it. the original type of input was just separate integers of input on separate lines. now, we have to have input on the order of:
{5,100, 5123}
and the like. the input must start with the curly brace, and the commas separate values. when we output the user's set, any number that would contain a comma must contain a comma. for example:
{5, 100, 5,123}
as per the previous input. this last part i can't figure out... how can you insert a comma as part of the output of values?
If you want to do this ...
to output like this {1,2,3}
do it
cout<<"{"<<arr[0]<<"," <<arr[1] etc. :)