stupid question
if i wanted to cin a string
but the string consisted of multiple words, how would i do it
for instance
wont do the job if i enter a string like Good morning everyone.Code:int main () { char f[100]; cin >> f; cout << f; return 0; }
because it takes the space as a delimiter.
any ideas... i know this is a stupid question.. early morning mind isnt working