Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren0
what's the difference between endl ,\n and \n\n?
1 Antwort
+ 2
Printing endl and '\n' are basically the same though endl will certainly flush the output (write the buffer it to stdout). "\n\n" is the same as twice endl or twice '\n'.