Intellisense in vs2010 with c++

后端 未结 12 1806
遇见更好的自我
遇见更好的自我 2021-01-13 13:38

I can\'t get intellisense to work. Even if I start with an empty project and add just one file to it with only an include for iostream and an int main()

12条回答
  •  抹茶落季
    2021-01-13 14:07

    I thought I should mention this:

    In Visual Studio 2012 I noticed that Intellisense suddenly stopped working in my C++ project (same error as the poster described). This happened because I had added "DEBUG" as a Preprocessor definition under Project Properties -> C/C++ -> Preprocessor.

    Once I removed it from that list and instead put it in the code ( #define DEBUG ) intellisense suddenly started working again.

    I don't know why this happens, I just know it screws up my intellisense. I hope this helps someone.

提交回复
热议问题