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
See Also related question: Eclipse CDT: Symbol 'cout' could not be resolved
for me the problem was that in #include somewhere there is #include which has a different include path than #include
#include
i.e.: /usr/include/c++/4.6/x86_64-linux-gnu
/usr/include/c++/4.6/x86_64-linux-gnu