// studs.hh #include class Studenten { // Data in Studenten //private: public: long int matrikel; int skz; char *pname, *pvorname; // Methods in Studenten public: // Default constructor (no argument) Studenten(); // Constructor with 4 arguments Studenten(const char vorname[], const char name[] = "", const long int mat_nr =0 , const int skz_nr = 0); // Copy constructor Studenten(const Studenten& orig); // Destructor ~Studenten(); // Assignment operator Studenten& operator=(const Studenten & orig); // Output operator friend ostream & operator<<(ostream & s, const Studenten & orig); // Print method // void Print(ostream & s); const int & GetSKZ() const { return skz; }; void SetSKZ(const int & s_in) { skz = s_in; }; };