VS2012出现“cannot open source file "iostream"”

来源:互联网 发布:输入法 linux 编辑:程序博客网 时间:2024/06/01 10:25

1、创建或打开一个控制台应用

2、点击“Property Manager”--->右击“Debug|Win32” ---->点击“Property”----->点击“VC++ Directories” --->Executable Directories 选择“Edit” ----> Uncheck the "Inherit from parent or project defaults" option--->Recheck it and click "Ok".
- Repeat this for the includes, library directories, etc. -Click on "Apply" and "Ok" - Rebuild the project and check if this worked.



参考博文:http://stackoverflow.com/questions/4594292/vs-2010-error-cannot-open-file-iostream