Why some examples are using "endl" instead of "\n"?
I heard that processing time of "endl" is longer than "\n" because "endl" has some flushing process.
But, there are so many examples using "endl" on the internet.
I wanna know why they're using "endl" which thought to be inefficient.
Sorry for the awkward English...... Thanks