Ok I have been having a problem... When I ask for a string and use spaces it stops at the first space. I dont want to use a char array. And heres my code:
I dont have access to my code right now so this is what i think it is.
With this if you put in "123 cool street" it only does 123. Please help if you can thanks in advance!
The other getline which is a member of the input stream would be included with the <iostream> header. Either way, I don't see why <sstream> is needed in this example program. http://cplusplus.com/reference/iostream/istream/getline/