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.

24 lignes
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. };