aboutsummaryrefslogtreecommitdiff
path: root/week07/Exercise3.h
blob: 2cf27bff781b1c0972b0fbc5db4734f1d4036290 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
class Thermometer {
	unsigned maxMeasurable;
	unsigned minMeasurable;
	unsigned currentTemperature;

public:
	Thermometer(unsigned maxMeasurable, unsigned minMeasurable, unsigned currentTemperature);
	void Print();

	void SaveText(const char* fileName);
	void LoadText(const char* fileName);

	void SaveBinary(const char* fileName);
	void LoadBinary(const char* fileName);
};