From e29b0fc993a66818cac74b2fd7ddb2361efb08ec Mon Sep 17 00:00:00 2001 From: jopierron Date: Thu, 17 Mar 2022 08:56:54 +0000 Subject: [PATCH] Update main.cpp --- src/main.cpp | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp index fc8bc9e..e6702b1 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -14,6 +14,7 @@ int main(){ Personne p6{"Jean-Pierre","Pernault","0655345706"}; Personne p7{"Johnny","Hallyday","0664345707"}; Personne p8{"Jahseh-Dwayne ","Ricardo","0670345708"}; + cout << "----------\n"; Contact c1{p1}; Contact c2{p2}; Contact c3{p3}; @@ -22,8 +23,15 @@ int main(){ Contact c6{p6}; Contact c7{p7}; Contact c8{p8}; + cout << "----------\n"; c1.ajouterContact(p2); + c1.ajouterContact(p3); + cout << "----------\n"; + // c1.rechercher(p3); + // c1.rechercher(p2); + // c1.rechercher(p4); + + // c1.ajouterContact() // map m {{p1,[p2,p6]},{}} } -