title: An object as an attribute C++
body: <p>I have two classes.
  As you can see an instance of the first class is an attribute of the second. When I try to create an instance of the second class it's calling the constructor of the first class before the constructor of the second. Is there any way to prevent this?</p>
  <pre><code>class Date {
      int jour;
      int mois;
      int annee;
  
  public:
      Date();
      Date(int, int, int);
  };
  class personne {
  protected:
      string nom;
      string prenom;
      string CIN;
      Date date_de_naissance;
  
  public:
      personne();
      personne(string, string, string, Date);
      
  };
  </code></pre>