cwnelatury
28th May 2009, 02:42
Hey all
Every time i put
vector<int> variable;
in a class(header file)...i get and error that says:
c++ forbids declaration of 'vector' with no type..
also get..expected ; before <;
I am not sure why this is happening..I include vector at the top.
Please help...this is preventing me from completing a huge project
Every time i put
vector<int> variable;
in a class(header file)...i get and error that says:
c++ forbids declaration of 'vector' with no type..
also get..expected ; before <;
I am not sure why this is happening..I include vector at the top.
Please help...this is preventing me from completing a huge project