Hi all!
can somebody please tell me what is wrong with the following code?
the header file:
in .cpp file I have built an object like this:Code:#include <set> template <typename T> class professional_set { public: set<typename T> root; set<typename T>:: iterator it; }
professional_set <int> a;
when I compile it, it gives this error for the last line:
missing ';' before identifier 'it'
missing type specifier - int assumed. Note: C++ does not support default-int
what do I do now?