blob: d3109758ccdfcd2f47f5284febef4d10c9459d6e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#pragma once
#include "Grade.h"
class GradeWithName : public Grade {
char* name;
void free();
void copyFrom(const GradeWithName& other);
public:
GradeWithName(unsigned numericValue, const char* name);
GradeWithName();
~GradeWithName();
GradeWithName(const GradeWithName& other);
GradeWithName& operator=(const GradeWithName& other);
GradeWithName(GradeWithName&& other);
GradeWithName& operator=(GradeWithName&& other);
};
|