On occasion, it is possible for Visual C++ to get very slow. What may happen periodically is that some of the working files may become
corrupted. Fortunately, this problem can be solved easily.
To solve this issue:
Close Visual C++.
Open a command line prompt in the directory that your source code is in.
Clean out all the intermediate files with this line at the command line prompt.
This will completely clean out all the intermediate files from your
project directory. You
can then rebuild your project and the performance of Visual C++ will be
back to normal.
Exercise extreme caution and only run this command in the directory of your
application.