|
|
|
@ -2,6 +2,7 @@
|
|
|
|
|
#include "Contact.hpp"
|
|
|
|
|
|
|
|
|
|
using namespace std;
|
|
|
|
|
using namespace reseau;
|
|
|
|
|
|
|
|
|
|
Contact::Contact(const Personne& Proprietaire): Proprietaire{Proprietaire} {
|
|
|
|
|
cout << "Contact créé " << Proprietaire << "\n";
|
|
|
|
@ -20,6 +21,6 @@ Contact::Contact(const Personne& Proprietaire): Proprietaire{Proprietaire} {
|
|
|
|
|
|
|
|
|
|
// string recevoirMessage(std::string texte, Personne p)
|
|
|
|
|
|
|
|
|
|
ostream& operator<<(ostream& os, Personne p){
|
|
|
|
|
ostream& reseau::operator<<(ostream& os, Personne p){
|
|
|
|
|
return os << p.getNom() << " " << p.getPrenom() << " " << p.getNumTel();
|
|
|
|
|
}
|
|
|
|
|