Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: