Ok... I must have unlearned something.
Why is that the following code gives me an error pointing to the vector declaration?
Code:#ifndef COUNTER_H #define COUNTER_H #include <vector> #include <iterator> class counter { public: /*...*/ private: /* ... */ static vector<double> ravg_; //error C2143: syntax error : missing ';' before '<' };