¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita0
in which situation we would use endl;
c++ endl
2 Respuestas
+ 4
If you want to end the line, or in other words to put texts into different lines
0
Use std::endl when you want also flush the stream.