You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

123456789101112131415161718192021222324252627
  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. int id;
  12. public :
  13. Person(int id);
  14. Person(string, string, string, string, int);
  15. void setName(string);
  16. string getName();
  17. void setEmail(string);
  18. string getEmail();
  19. void setPhoneNo(string);
  20. string getPhoneNo();
  21. void setPassword(string);
  22. string getPassword();
  23. bool checkPassword(string);
  24. int getId();
  25. };