When I use Visual Studio 2015 , an error at compile time is raised when I try to create a new Win32 C++ project . I follow the following steps:
During the build time of the project the reported errors are:
cannot open source file "string.h"
cannot open source file "ctype.h"
...
Finally I fount a solution.
In Project -> myproject properties -> VC++ Directories -> Include Directories, I add the directory of ucrt, that belong to Windows Kits, in the path:
C:\Program Files (x86)\Windows Kits\10\include\10.0.10150\ucrt
Ant in In Project -> myproject properties -> VC++ Directories -> Library Directories add:
C:\Program Files (x86)\Windows Kits\10\Lib\10.0.10150\ucrt\x86
And thats all.
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.