Visual Studio C ++ 2012,缺少标准头文件。 [英] Visual Studio C++ 2012, standard header files are missing.
问题描述
我知道有一些关于VS2010的主题,但找不到2012,所以我在这里问。
I know there are some topics regarding VS2010, but couldn't find 2012, so i'm asking here.
VS2010的所有解决方案都不适用于问题。
All the solutions for VS2010 does not work for the issue.
我已经重新安装了VS2012 premium。重新安装后,我尝试了Visual C ++ hello world项目。
I have re-installed VS2012 premium. After re-installing, I tried Visual C++ hello world project.
#include< stdio.h>
#include <stdio.h>
甚至无法编译因为缺少头文件。
couldn't be even get compiled because of missing header files.
我查了{VS installation dir} \ VCC \ include,但只有2个文件即srv .h,vsgcapture.h。
I checked {VS installation dir}\VC\include, but there were only 2 files namely srv.h, vsgcapture.h.
我已经多次修复,卸载,安装但没有成功。
I have done repair, uninstall, install several times but with no success.
我该怎么办才能找回丢失的头文件?
What should I do to get the missing header files back?
推荐答案
你好,
安装Visual Studio 2012时似乎没有安装头文件。
Seems it didn't install the header files when you install the Visual Studio 2012.
请卸载Visual Studio并下载新的ISO映像来自:
Please uninstall your Visual Studio and download new ISO image from:
http://www.microsoft.com/visualstudio/eng/downloads
禁用防病毒软件。 然后安装Visual Studio 2012。
如果不起作用,请随时告诉我们。
祝福,
这篇关于Visual Studio C ++ 2012,缺少标准头文件。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!