Slow std::fstream performance
I’m trying to process a bunch of files (several thousand, each with a size of around 500KB) with a C++ executable, but I’m experiencing very poor performance when reading the files sequentially. The core C++ code is basically this:
Using member functions inside windows procedures (using c++)
I am creating a windows application. I am trying to set up an Application class and handle events in a member function inside it, and have an instance of the class declared beforehand to be called inside the windows procedure.