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.

24 line
410 B

  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(string, string, string, string);
  13. void setName(string);
  14. string getName();
  15. void setEmail(string);
  16. string getEmail();
  17. void setPhoneNo(string);
  18. string getPhoneNo();
  19. void setPassword(string);
  20. bool checkPassword(string);
  21. };