Table of contents
1. Find the fastest way to read files in C++
Explore the fastest way to read files in C++
Summarize:
- The reading efficiency under Linux is higher than that under Windows
- After using the mingw compiler cin to disable synchronization, the reading efficiency has improved.
- scanf() reads more efficiently than cin.