Eclipse C++: Symbol 'std' could not be resolved

前端 未结 10 1171
刺人心
刺人心 2020-12-08 03:01

I am getting this error in the TestExecute.cpp -

\"Symbol \'std\' could not be resolved\"

CODE

#include 

        
10条回答
  •  生来不讨喜
    2020-12-08 03:03

    Try out this step: https://www.eclipse.org/forums/index.php/t/636348/

    Go to

    Project -> Properties -> C/C++ General -> Preprocessor Include Paths, Macros, etc. -> Providers

    • Activate CDT GCC Built-in Compiler Settings
    • Deactivate Use global provider shared between projects
    • Add the command line argument -std=c++11.

提交回复
热议问题