0

Does endl create a new line?

I need to add a space between two lines that will be output to the screen, not sure if endl is a good way to do it.

28th May 2017, 1:27 PM
Robert Bishop
Robert Bishop - avatar
6 Respostas
+ 16
Yes...
28th May 2017, 1:28 PM
Valen.H. ~
Valen.H. ~ - avatar
+ 15
Yes.
28th May 2017, 1:30 PM
Valen.H. ~
Valen.H. ~ - avatar
+ 15
or cout<<"\n";
28th May 2017, 1:31 PM
Valen.H. ~
Valen.H. ~ - avatar
+ 1
Can I double it up? like << endl << endl; to make an extra space?
28th May 2017, 1:30 PM
Robert Bishop
Robert Bishop - avatar
+ 1
Great!
28th May 2017, 1:34 PM
Robert Bishop
Robert Bishop - avatar
0
If you're interested in what I'm working on here is my GitHub https://github.com/vubur
28th May 2017, 1:36 PM
Robert Bishop
Robert Bishop - avatar