Replace main.cpp

main
Matis MAZINGUE 3 years ago
parent 369eaca259
commit 73195a9de2

@ -1,8 +1,26 @@
#include <iostream> #include <iostream>
#include "Personne.hpp" #include "Personne.hpp"
#include"Contact.hpp"
using namespace std; using namespace std;
int main(){ int main(){
Personne p1{"Bernard","Le bg","0612345700"}; 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<Personne,listeContact> m {{p1,[p2,p6]},{}}
} }
Loading…
Cancel
Save