// #include <iostream>
#include "student_constr.h"
// using namespace std;

int main()
{
   Student s("First Last");
   cout << "This is the first output of the main function " << endl;

   s.set_no(100);
   s.set_year_of_studies(1);
   s.set_name("NFirst Last");
   s.set_date(20,11,2005);

   int year, no;

   year = s.get_year_of_studies();
   no = s.get_no();
   cout << "\nYear of studies is " << year
        << " for student with no " << no
        << " and name " << s.get_name() << endl;

   int rday, rmonth, ryear;
   s.get_date(rday,rmonth,ryear);
   cout << "and the registration date is:" << rday << "  "
        << rmonth << "  " << ryear << endl;

   Student s1(s);

   cout << "Just exiting the main function ...." << endl;

   return 0;
}
