I just installed VS2022 on Windows10, and didn't know that I had to install Windows 11 SDK
. I got the ctype.h
error.
I did a search on the laptop for Visual Studio Installer
, ran it, hit Modify
, and checked Windows 11 SDK (10.0.22621.0)
. Then I could build and run C++ solution.