I want to make a program that takes unknown by number commands from the user and I want the new line to be like the thing that makes the loop that takes the commands to ends. I mean if the user entered only new line = > the commands are done and the program is ready to continue.
something like:
1 2 3 4 5 6 7 8 9 10 11
do
{
cin>>randomString;
//here I do what I do with it
}
while( I don't know how to end this I want to end if the user only have pressed "Enter" otherwise repeat the loop);