|
|
|
@ -1,14 +1,14 @@
|
|
|
|
|
#ifndef PERSONNE_hpp
|
|
|
|
|
#define PERSONNE_hpp
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class Personne {
|
|
|
|
|
std::string nom;
|
|
|
|
|
std::string prenom;
|
|
|
|
|
const std::string nom ;
|
|
|
|
|
const std::string prenom ;
|
|
|
|
|
std::string numTel;
|
|
|
|
|
int numPers;
|
|
|
|
|
public:
|
|
|
|
|
Personne(const std::string& nom, const std::string& prenom, const std::string& numTel);
|
|
|
|
|
Personne();
|
|
|
|
|
// Personne();
|
|
|
|
|
const std::string& getNom() const;
|
|
|
|
|
const std::string& getPrenom() const;
|
|
|
|
|
const std::string& getNumTel() const;
|
|
|
|
@ -17,3 +17,4 @@ public:
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|