I am reading a variable through cin and i wish to output it to a file, my beta version works, but it kills the output after the first space...the tutorial here says to use the following code:
and yes i do have a main function and all that good stuff...i followed the example exactly, but during compile, i get this error:
//use char or string??
yada yada yada
Could not find a match for 'istream::getline(string,char)' in function main()
please help me, it would be much appreciated