# The most comprehensive error can not open iostream appearance of # VS

For use vs run the project, there can not be opened iostream error, there are generally three methods online:

method one

→ Tools
→ Import and Export Settings
→ Reset All Settings
→ Next
→ choose "whether to save the current settings (that I chose the direct reset)",
→ Next
→ Select "to reset development languages (eg, Visual C ++ development settings) "
→ completed

Method Two

If you are using VS2010 in a future release #include "iostream" way to introduce iostream module, you can use the following statement to replace #include "iostream" statement to resolve this problem.

#include <iostream>
#include <fstream>
using namespace std;

Note: This header file is a file with VC6.0, without this header file in VS2010 which, naturally, can not directly include.

Method Three

If you uninstall before over the same version vs your computer, and two different vs installation directory, then this problem is probably because the previous vs profile does not unload a clean, vs before pressing the iostream path to load modules, and before vs the file has been unloaded, so this error. vs completely uninstall please refer to my article → VS completely uninstall tutorials

Published 59 original articles · won praise 2 · Views 4676

Guess you like

Origin blog.csdn.net/lch551218/article/details/104357311