+ 2
what does the "endl" means
3 Respuestas
+ 12
endl is short for "end line", and sets the cursor on the next line.
You can also use \n (the escape character for a new line) after the text your printing instead.
Ex:
cout << "Using endl" << endl;
//is the same as
cout << Using newline\n";
+ 1
c++ language does not understand spaces , so to change the line or make difference between two lines you use it
eg: cout<<"any text"endl;
cout<<"any text";
0
the c ++ can't use to new line to new character than we use endl ( a short form of end line) to use new line to new text