Files
cppcourse/397/SolutionEx61Part1/Person.h
T
2026-10-05 11:27:21 +02:00

28 lines
354 B
C++

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