G
gamehack
Hi all,
Here's the error which I'm getting when trying to compile some code:
And the code is:
I'm doing some silly mistake but cannot see what it is. Thanks.
Here's the error which I'm getting when trying to compile some code:
Code:
boxmanager.h:16: error: ISO C++ forbids declaration of 'vector'
with no type
boxmanager.h:16: error: expected ';' before '<' token
boxmanager.h:17: error: ISO C++ forbids declaration of 'vector'
with no type
boxmanager.h:17: error: expected ';' before '<' token
And the code is:
Code:
private:
vector<Box> boxes; // line 16
vector<int> chosenmoney; // line 17
I'm doing some silly mistake but cannot see what it is. Thanks.