I don't know how to make a forced break in C++. How do you do? (A forced break is like hitting enter when typing.)
Printable View
I don't know how to make a forced break in C++. How do you do? (A forced break is like hitting enter when typing.)
For output?
You can use '\n' or endl:
cout<<"Hello world.\n"<<"This is on the next line.";
cout<<"Hello world."<<endl<<"This is on the next line.";
i think he means kinda like when you type to the end of the screen, he wants it to wrap around...