From 73195a9de27d470623875f0e6fefc8caf53ac9d0 Mon Sep 17 00:00:00 2001 From: mamazingue Date: Thu, 3 Mar 2022 10:55:12 +0000 Subject: [PATCH] Replace main.cpp --- src/main.cpp | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index 9048d9f..cf120a1 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1,8 +1,26 @@ #include #include "Personne.hpp" +#include"Contact.hpp" using namespace std; int main(){ - Personne p1{"Bernard","Le bg","0612345700"}; -} \ No newline at end of file + Personne p1{"Bernard","Tapie","0612345701"}; + Personne p2{"Lionel","Pessi","0608345702"}; + Personne p3{"Pristiano","Penaldo","0620345703"}; + Personne p4{"Léon","Blum","0635345704"}; + Personne p5{"Karim","Benzema","0648345705"}; + Personne p6{"Jean-Pierre","Pernault","0655345706"}; + Personne p7{"Johnny","Hallyday","0664345707"}; + Personne p8{"Jahseh-Dwayne ","Ricardo","0670345708"}; + Contact c1{p1}; + Contact c2{p2}; + Contact c3{p3}; + Contact c4{p4}; + Contact c5{p5}; + Contact c6{p6}; + Contact c7{p7}; + Contact c8{p8}; + c1.ajouterContact() + // map m {{p1,[p2,p6]},{}} +}