Advertisement
Guest User

Untitled

a guest
Nov 19th, 2019
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.20 KB | None | 0 0
  1. #ifndef PERSONNE_H
  2. #define PERSONNE_H
  3.  
  4. class Personne
  5. {
  6. public :
  7. personne(int a);
  8. ~personne();
  9. char* getnom();
  10. void setnom(char temp[10]);
  11. char* getprenom();
  12. void setprenom(char temp[10]);
  13. int getage();
  14. void setage(int a);
  15. const int getcin();
  16. int checkcin(Personne t[],int nbelem,int cin);
  17. private :
  18. const int CIN;
  19. char Nom[20];
  20. char Prenom[10];
  21. int Age;
  22.  
  23. };
  24.  
  25. #endif
  26.  
  27.  
  28. #ifndef EMPLOYE_H
  29. #define EMPLOYE_H
  30. #include "personne.h"
  31. class Employe : public Personne
  32. {
  33. public :
  34. Employe(int c,int ne);
  35. ~Employe();
  36. const int getnum_emp();
  37. int getgrade();
  38. void setgrade(int g);
  39. float getsalaire();
  40. void setsalaire(float s);
  41. void Ajoute_em(Employe t[],int &nbelem);
  42. void supp_em(Employe t[],int &nbelem);
  43. void Modifier_em(Employe t[],int nbelem);
  44. void Lister_em(Employe t[],int nbelem);
  45. int checknum(Employe t[],int nbelem);
  46. private :
  47. const int num_em;
  48. char grade[20];
  49. float salaire;
  50.  
  51. };
  52.  
  53. #endif
  54.  
  55. #ifndef CLIENT_H
  56. #define CLIENT_H
  57. #include "personne.h"
  58. class Client
  59. {
  60. public :
  61. Client();
  62. ~Client();
  63. private :
  64. const char Nom_Client[20];
  65. char nom[20];
  66. char tel[10];
  67. int chiffre_affaire;
  68. };
  69.  
  70. #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement