I am writing C ++ code with eclipe.
I have strange behavior with vector objects.
When I use a method resize, for example, Eclipse returns the following error:
#include "vector"
...
vector<int> a;
a.resize(5);
Error: Invalid arguments candidates are: void resize(?, int).
However, the code is compiled from the command line.
How can I fix this squeamish eclipse behavior?
source
share