When you develop a C + + program using Visual Studio 2010, you will find that some strange files are created, such as a folder called Ipch, and a. sdf file with the same name as the project, and ipch the following files and. sdf files are large, at least 10M, large items may exceed 100M, what are these files for? These files are used by Visual Studio to save precompiled Headers and IntelliSense, and deleting these files has no effect on the development of the project. What if I want to use precompiled headers and IntelliSense, and I don't want to see these boring files?
Enter the following settings in Visual Studio: Go to "Tools > Options", select "Text Editor > C + + > Advanced" and find "fallback Location". Then set "Always use fallback Location" and "do not Warn if fallback Location" to "True", as shown in the following figure:
Files are saved to a specific folder, you must set up fallback Location, or Visual Studio will use the system's temporary folder to save the files.
Then restart Visual Studio, and those pesky files are gone. This setting is especially useful for people like me who use Dropbox to sync code.