简体   繁体   中英

Visual Studio isn’t running a Hello World script - even the one that it included in the build

I've began to use Visual Studio, and I'm trying to make a simple hello world script. However, when i try to run the hello world script that they included, nothing shows up - except for 437 errors, all along the lines of: cannot open source file “ctype.h” I assume that it's doing this for every single one of the extra files, however, I'm not too sure. I've been looking everywhere for help on this - so some help here would be much appreciated: Thank you :)

It seems that you couldn't install or use the windows SDK correctly. I suggest you could try to reinstall the windows sdk. Open the VS Installer window, you could click on "Individual Components", then scroll quite a ways down to get to the "SDKs, libraries and frameworks" section. In there, you could choose download and install the SDK which you want.

在此处输入图像描述

And then right click the project-> Properties -> General -> Windows SDK Version to set the Windows SDK.

在此处输入图像描述

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM