Hello, everyone. I've got a compiler error popping up for this class:
#include <iostream>
#include <string>
class Stage
{
private:
string var;
public:
Stage();
Stage(int num_of_items);
};
The error is:
error C2146: syntax error : missing ';' before identifier 'var'
The funny thing is that if I remove the line "string var", it works fine. Any ideas?