0

endl vs \n

Should i use endl instead \n? internet say endl is faster, but a test showed \n is faster.

26th Nov 2016, 1:01 PM
tomitheninja
tomitheninja - avatar
2 Antworten
0
well, you shouldn't trust the result of your test, because the runtime depends on the other many things that i'm sure you did ignore it!
26th Nov 2016, 1:50 PM
Nima Moradi
Nima Moradi - avatar
0
please send it another time
26th Nov 2016, 3:45 PM
ali508
ali508 - avatar