Type: Posts; User: Salem
Then move the enum out of the class.
Outside the class, you need to fully qualify the name. int main(){ Date aaa(1,Date::JANUARY,1998); } Three more things.