|
|
|
@ -10,10 +10,10 @@ Personne::Personne(const std::string& nom, const std::string& prenom, const stri
|
|
|
|
|
cout << "Personne créée " << nom << " " << prenom << " " << numTel <<"\n";
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Personne::Personne(): numPers{0}{
|
|
|
|
|
numPers = numPers+1;
|
|
|
|
|
cout << "Personne créée \n";
|
|
|
|
|
}
|
|
|
|
|
// Personne::Personne(): numPers{0}{
|
|
|
|
|
// numPers = numPers+1;
|
|
|
|
|
// cout << "Personne créée \n";
|
|
|
|
|
// }
|
|
|
|
|
|
|
|
|
|
const string& Personne::getNom() const{
|
|
|
|
|
return nom;
|
|
|
|
@ -29,4 +29,5 @@ const string& Personne::getNumTel() const{
|
|
|
|
|
|
|
|
|
|
void Personne::setNumTel(const string& numTel){
|
|
|
|
|
this->numTel = numTel;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|