3 ms·
std::endl will insert a new line, but it also flushes the buffer. So use'\n' when you need a new line and don't want to flush the output buffer.
by stonemetal 17y ago
std::endl will insert a new line, but it also flushes the buffer. So use'\n' when you need a new line and don't want to flush the output buffer.
- deleted 17y ago[deleted]