c:\Documents and Settings\Administrator\My Documents\Visual Studio Projects\C++\Contest\thing\store.cpp(7): error C2143: syntax error : missing ';' before '<'Code:class learn {
vector <char *> data;.....};
what?
Printable View
c:\Documents and Settings\Administrator\My Documents\Visual Studio Projects\C++\Contest\thing\store.cpp(7): error C2143: syntax error : missing ';' before '<'Code:class learn {
vector <char *> data;.....};
what?
Try to use "()" instead of "<>". That should do it, but I could be wrong...Code:class learn {
vector (char *) data;.....};
that didnt fix it, i got it though
had to add
using namespace std;
woops