parent
5c3524b43c
commit
e8a6409af5
@ -0,0 +1,18 @@
|
||||
#include <iostream>
|
||||
#include "Personne.hpp"
|
||||
|
||||
using namespace std;
|
||||
using namespace reseau;
|
||||
|
||||
Personne::Personne(const std::string& prenom):prenom{prenom}{
|
||||
// cout << "Personne créée " << prenom <<"\n";
|
||||
}
|
||||
|
||||
// Personne::Personne(): numPers{0}{
|
||||
// cout << "Personne créée \n";
|
||||
// }
|
||||
|
||||
const string& Personne::getPrenom() const{
|
||||
return this->prenom;
|
||||
}
|
||||
|
Loading…
Reference in new issue