consider the following Class
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/5921560/consider-the-following-class">consider the following Class</a>  </p>
</blockquote>



<pre><code>class school
{
public:
school();
school(int d, int mm, int am);
void display_specs(ostream &amp; out)const;
int get_dash()const;
int get_mmoney()const;
int get_atmin();
private:
int dash;
int main_memory;
int alert_time;
};
</code></pre>

<p>derive a <code>class student</code> from <code>class school</code>. This class has additional member variables, <code>life_time</code> and <code>weight</code>. <code>class student</code> also has  member functions <code>get_litime()</code> and <code>get_height()</code> to return member variables life_time and height respectively.The class student should override <code>function display_specs()</code> in order to display the member variables of <code>student</code>.  Provide only the interface of <code>class student</code> in terms of a header file.The header file should contain compiler directives tp prevent multiple definitions.Assume that the interface of <code>class school</code> is contained in an interface file called <code>"school.h"</code></p>
