+ 3
cout
Just noticed that you don't need the second cout to start the next statement. cout << "Hello"; << endl; << "World"; should work.
7 Respostas
+ 6
You can write
cout << "Hello" << endl << "World";
One more thing
cout << "Hello << "\n" << "World";
0
yes, but without semicolons near "Hello" and endl
0
Ah well yes, haha.
0
The right is
cout << "Hello" << "World";
0
Hay, I was talking about using endl for a new line and continuing on without introducing a second cout.
0
Yeah. I noticed \n as I went further on, thanks.
0
Woww