25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Person.h 422 B

123456789101112131415161718192021222324
  1. #include <string>
  2. #include <iostream>
  3. using namespace std;
  4. class Person
  5. {
  6. private :
  7. string name;
  8. string password;
  9. string email;
  10. string phoneNo;
  11. public :
  12. Person();
  13. Person(string, string, string, string);
  14. void setName(string);
  15. string getName();
  16. void setEmail(string);
  17. string getEmail();
  18. void setPhoneNo(string);
  19. string getPhoneNo();
  20. void setPassword(string);
  21. bool checkPassword(string);
  22. };