C++ Reference

1. Find the fastest way to read files in C++

Explore the fastest way to read files in C++

Summarize:

  1. The reading efficiency under Linux is higher than that under Windows
  2. After using the mingw compiler cin to disable synchronization, the reading efficiency has improved.
  3. scanf() reads more efficiently than cin.

Guess you like

Origin blog.csdn.net/weixin_45827203/article/details/129686970