Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

Person.h 446 B

12345678910111213141516171819202122232425
  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. string getPassword();
  22. bool checkPassword(string);
  23. };