C++ – Cannot open include file: ‘ctype.h’: No such file or directory

cvisual studiovisual-studio-2015

I installed c++ package on VS 2015 , if I tried to build the project ,the following problem appears :

C1083 Cannot open include file: 'ctype.h': No such file or directory Win32Project5 c:\program files (x86)\windows kits\8.1\include\um\winnt.h 31

Any possible solution ….

Best Answer

Repair / Reinstall visual studio. Make sure that the Windows SDK option (Probably 8.1 in your case) is ticked, As you can see in this picture: enter image description here