Can't you use the "endl" tag twice to create a blank line in C++? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Can't you use the "endl" tag twice to create a blank line in C++?

25th Jan 2019, 9:21 PM
THM
THM - avatar
2 Answers
+ 2
Yes, you can. Alternatively use \n
25th Jan 2019, 9:27 PM
voidneo
0
neo.h already answered you but you know that there is a code playground here on Solo, right? for this kind of doubt you could just try it out there! Write the code and dont be afraid to experiment!
26th Jan 2019, 12:43 AM
Sekiro
Sekiro - avatar