blob: 0c39e3ebc547bf5605a4d9a3a3d05f1f9f88f45c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#include "record.h"
Course::Course(int c_id, std::string c_name, unsigned char c_credits) {
id = c_id;
name = c_name;
credits = c_credits;
}
int Course::get_id(void) {
return id;
}
int Course::get_credits() {
return credits;
}
std::string Course::get_name() {
return name;
}
|