summaryrefslogtreecommitdiff
path: root/CPP/Basics/records/Student.cpp
blob: d8cccafdd6624a6921f22860dcb655846e9f3fc8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include "record.h"

Student::Student(int s_id, std::string s_name) {
	id = s_id;
	name = s_name;
}

int Student::get_id(void) {
	return id;
}

std::string Student::get_name(void) {
	return name;
}