use a backslash '\' for an escape sequence. The Compiler will not print it. in your string say \n somewhere and it will go to the next line. use \t and it will skip 5 spaces(\t means tab). If you want to print a backslash, then type this:
cout << "Hi There!" << endl;
cout << "I'm on the next line!\n";
cout << "So am I! wait...but where's the endl?";
That should print:
cout << "Bonjour!\\Hello!\n";
cout << "Je m'eppelle Spongebob.\n\\\nmy name is SpongeBob.";
Je m'eppelle Spongebob.
My name is SpongeBob.