When reading in strings from a file is it alright if the strings are on separate lines? like if i was doing:
string str1, str2, str3;
file >> str1 >> str2 >> str3;
cout << str1 << str2 << str3
and foobar.txt reads
stringone stringtwo (a new line)
would there be any problem due to the newline?