title: Error at constructor : Expected an identifier?
body: <p>I am working with a bunch of classes with composition and I keep getting this error (Expected an identifier) when I try to implement the constructor , here the class header:</p>
  
  <pre><code>#ifndef STUDENT_H_
  #define STUDENT_H_
  
  #include "University.h"
  class Student {
  public:
      Student(); // constructor
      friend ostream &amp; operator&lt;&lt;(ostream &amp;, Student &amp;); // print the student data
      friend istream &amp; operator&gt;&gt;(istream &amp;, Student &amp;); // to read student data
  private:
      const int id; 
      string name; 
      int marks[5];
      Date admissionDate; // Composition
      University university;  // Composition
  };
  
  #endif
  </code></pre>
  
  <p>what do I need to do to solve this error ?</p>
  
  <p>here's the cpp but I still did not implement the other io functions because I want to solve that error first..</p>
  
  <pre><code>#include "Student.h"
  Student::Student(){}
  ostream &amp; operator&lt;&lt;(ostream &amp;, Student &amp;){} 
  istream &amp; operator&gt;&gt;(istream &amp;, Student &amp;){}
  </code></pre>