diff --git a/src/Personne.hpp b/src/Personne.hpp index 030e8c6..a36657c 100644 --- a/src/Personne.hpp +++ b/src/Personne.hpp @@ -5,7 +5,6 @@ class Personne { std::string nom; std::string prenom; std::string numTel; - int numPers; public: Personne(const std::string& nom, const std::string& prenom, const std::string& numTel); Personne(); @@ -16,4 +15,4 @@ public: // ~Personne(); }; -#endif \ No newline at end of file +#endif diff --git a/src/main.cpp b/src/main.cpp index 9048d9f..3ef931a 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -4,5 +4,12 @@ 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"}; +}