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
In Eclipse, right-click on the project name...Select Index...Rebuild.