Cannot open include file: 'stdio.h' - Visual Studio Community 2017 - C++ Error

后端 未结 12 1764
误落风尘
误落风尘 2020-12-15 02:27

I am trying to Build a Solution on Visual Studio Community 2017, but I keep getting the error \"Cannot open include file: \'stdio.h\' \". I\'ve read through

12条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-15 02:56

    I had a similar problem after updating my VS2017. Project built fine; but lots of 'errors' when code was brought up in the editor. Even tried reinstalling VS. I was able to solve it by setting the option “Ignore Standard Include Paths” to Yes. Attempted to build the solution with lots of errors. Went back and set the option to No. After rebuilding, my problem went away.

提交回复
热议问题