Yes, and I want a way of moving to the next step, a way to say "This is it, this is all the text I´m going to input, do your work with it".
I would like user´s interaction with the program to be something like this:
you put the name, this is solved...
you write what ever you want, sentences, words, periods, spaces, "return" to go down, ...
The program then has to do other things that I have already solved.
Using
getline(cin, S);
, whenever user presses return, the program moves to the next instruction, and maybe I still want to enter some text, but in the next line.--