@Battle_Hamster
1 / 1 / 0
Регистрация: 27.12.2013
Сообщений: 91
|
27.05.2014, 00:44
[ТС]
|
|
alsav22,
C++ (Qt) | 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
| #if !defined(_TSTUDENT_H)
#define _TSTUDENT_H
#include <iostream>
#include<vector>
#include<TWyklad.h>
using namespace std;
class TStudent {
public:
TStudent(string nazwisko, int idStudenta);
void setName(string nazwisko);
string getName();
void zapiszNaWyklad(TWyklad *newWyklad);
const TWyklad* odzczytajWyklad(int id) const;
private:
//
string nazwisko;
int idStudenta;
std::vector <TWyklad*> wyklady; // powiazanie
};
#endif //_TSTUDENT_H |
|
0
|