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

If you use printf and cout in the same program then yes you can have dramatic performance problems with cout unless you use `std::ios_base::sync_with_stdio(false);`

It's not the same issue but it's the same area of stupid stuff you have to find out about and roll your eyes.



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

Search: