+ 1

What does 'endl' mean?

this app did not learn that 'endl' after hello world?

1st Oct 2017, 3:17 PM
Didem Demirel
Didem Demirel - avatar
3 Answers
+ 12
endl Inserts a new-line character and flushes the stream. (line feed and carriage return) cout << endl; eq. cout << "\n"; cout << "Hi Didem " << endl << "I'm here to help you!" << endl; cout << "Hi Didem\nI'm here to help you!\n"; Output: Hi Didem I'm here to help you! (blinking cursor)
1st Oct 2017, 3:26 PM
Babak
Babak - avatar
+ 2
ooohh yeahh thanks!
1st Oct 2017, 3:44 PM
Didem Demirel
Didem Demirel - avatar
+ 2
ra
1st Oct 2017, 4:05 PM
Walaad Khan
Walaad Khan - avatar