Cheers! I'm completely new to this coding community--but I'm quite enjoying it thus far. If I have a string, and the cout is multiple lines long, how do I break up these lines?
For example:
string famousVillains;
famousVillains =
"
Voldemort: skinny man with a fat backstory
Ursula: fat lady with tentacles
The Joker: scary dude with make-up
Cruella: weird lady with dog obsession
Terminator: crazy guy in black.";
when I cout this, how do I make sure there are spaces in between each of the villains? I tried using << endl; but this just cancels all of the villains that follow.
Thanks for the help!