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

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

I am getting this error in the TestExecute.cpp -

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

CODE

#include 

        
10条回答
  •  萌比男神i
    2020-12-08 03:11

    The problem you are reporting seems to me caused by the following:

    1. you are trying to compile C code and the source file has .cpp extension
    2. you are trying to compile C++ code and the source file has .c extension

    In such situation Eclipse cannot recognize the proper compiler to use.

提交回复
热议问题