DUMB question

Hi,
I need to declare a variable at one point and cin a plaintext like "hello world"
to it in another place, but i don't know the right type for this kind of string that is more than one word. any suggestions ?
Last edited on
I'd use getline (cin will just get up to the white space, or "hello") and a string variable.
Oh, thank God, it worked !!

thanks a lot, you saved me :)
Topic archived. No new replies allowed.