I am getting this error in the TestExecute.cpp -
\"Symbol \'std\' could not be resolved\"
CODE
#include
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
The includes folder in the project is probably missing /usr/include/c++. Goto your project in project explorer, right click -> Properties -> C\C++ Build -> Environment -> add -> value= /usr/include/c++. Restart eclipse.
Install C++ SDK:
Help > Install New Software > Work with: path for your eclipse version > search for C++ and install C++ sdk development tools.
Example for a path: Mars - http://download.eclipse.org/releases/mars
The problem you are reporting seems to me caused by the following:
In such situation Eclipse cannot recognize the proper compiler to use.
You can rewrite the code likes this:
#include<iostream>
#include<stdio.h>
using namespace std;
For MinGW this worked for me:
PropertiesC/C++ General - Paths and Symbols - Includes - GNU C++ - Include directoriesAdd...Variables...MINGW_HOME and click OKApply and OKYou should now see several MinGW paths in Includes in your project explorer.
The errors may not disappear instantly, you may need to refresh/build your project.
If you are using Cygwin, there could be an equivalent variable present.