0
Why does it always make me use endl?
in nearly all questions it makes me use endl. why?
3 Answers
+ 16
cout<<"no endl"<<"text";
cout<<"endl";
cout<<"endl"<<endl<<"text";
//test this
+ 6
You may simply ignore the use of endl, but it makes the output neater when you have multiple outputs.
+ 3
you can use instead "\n"