summaryrefslogtreecommitdiffstats
path: root/Bachelor/Prog2/Studenten/Student.h
blob: 55d1e85f56e189d2b62166093ab7febd500c7311 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// Student.h: Interface for class Student.



#if !defined STUDENT_H

#define STUDENT_H



#include <string>



class Student  

{	



public:

   Student();

   ~Student();

   void set( std::string, int, int );

   void print();

   std::ostream& write( std::ostream& ) const;

   std::istream& read( std::istream& );



private:

   std::string name;

   int matNr;

   int age;



};



#endif