blob: 3bcb42629b6b04744ca2d74c609dc9ab875c6970 (
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
|