K
keith
Does anyone know the rationale for flushing the output buffer after a
std::endl? It makes for very inefficient writting to a file...
std::endl? It makes for very inefficient writting to a file...
Does anyone know the rationale for flushing the output buffer after a
std::endl?
It makes for very inefficient writting to a file...
The rationale is it to output a newline symbol and flush the stream.
Use plain '\n' if you don't need flushing.
keith said:Does anyone know the rationale for flushing the output buffer after a
std::endl? It makes for very inefficient writting to a file...
Does anyone know the rationale for flushing the output buffer
after a std::endl?
It makes for very inefficient writting to a file...
keith said:Does anyone know the rationale for flushing the output buffer after a
std::endl? It makes for very inefficient writting to a file...
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.