#ifndef Person_h #define Person_h #include #include class Person { public: virtual ~Person(); static int GetCount(); Person(std::string name, int age); static std::shared_ptr GetPerson(std::string name, int age); void setSalary(int sal); private: Person(const Person &); std::string name; int age; int salary; static int Count; }; #endif