I am using eclipse in linux to develop a c++ application and I am getting this editor annotation error \"Symbol \'vector\' could not be resolved\" from the following code
Apparently vector belongs to C++ standard template library from MinGW perspective. so in addition to
#include
Add
using namespace std;
after the header file inclusions.