+ 1

How "endl" use in c++ ? With example.

31st Jul 2018, 3:36 AM
ROSHAN KUMAR
ROSHAN KUMAR - avatar
3 Respuestas
+ 2
endl is used to add a break in output to use it individually cout<<endl; or to use it with other output cout<<"hello world"<<endl;
31st Jul 2018, 3:50 AM
Deepanshu
Deepanshu - avatar
+ 2
In addition, It is used to flush the buffer. Like std::flush.
31st Jul 2018, 4:40 AM
Disvolviĝo;
Disvolviĝo; - avatar
0
u are right
31st Jul 2018, 4:05 AM
ROSHAN KUMAR
ROSHAN KUMAR - avatar
En tendencia hoy
.
1 Votes
What?
0 Votes
HTML
0 Votes
Web
0 Votes
Quiz duel
0 Votes
FRC Coding?
1 Votes
AI
2 Votes
help
0 Votes
APIs
1 Votes