Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #ifndef PERSONNE_H
- #define PERSONNE_H
- class Personne
- {
- public :
- personne(int a);
- ~personne();
- char* getnom();
- void setnom(char temp[10]);
- char* getprenom();
- void setprenom(char temp[10]);
- int getage();
- void setage(int a);
- const int getcin();
- int checkcin(Personne t[],int nbelem,int cin);
- private :
- const int CIN;
- char Nom[20];
- char Prenom[10];
- int Age;
- };
- #endif
- #ifndef EMPLOYE_H
- #define EMPLOYE_H
- #include "personne.h"
- class Employe : public Personne
- {
- public :
- Employe(int c,int ne);
- ~Employe();
- const int getnum_emp();
- int getgrade();
- void setgrade(int g);
- float getsalaire();
- void setsalaire(float s);
- void Ajoute_em(Employe t[],int &nbelem);
- void supp_em(Employe t[],int &nbelem);
- void Modifier_em(Employe t[],int nbelem);
- void Lister_em(Employe t[],int nbelem);
- int checknum(Employe t[],int nbelem);
- private :
- const int num_em;
- char grade[20];
- float salaire;
- };
- #endif
- #ifndef CLIENT_H
- #define CLIENT_H
- #include "personne.h"
- class Client
- {
- public :
- Client();
- ~Client();
- private :
- const char Nom_Client[20];
- char nom[20];
- char tel[10];
- int chiffre_affaire;
- };
- #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement