diff options
| author | Sven Eisenhauer <sven@sven-eisenhauer.net> | 2023-11-10 15:11:48 +0100 |
|---|---|---|
| committer | Sven Eisenhauer <sven@sven-eisenhauer.net> | 2023-11-10 15:11:48 +0100 |
| commit | 33613a85afc4b1481367fbe92a17ee59c240250b (patch) | |
| tree | 670b842326116b376b505ec2263878912fca97e2 /Bachelor/Prog1/Prakt6/prg1p6_1/frozenm.h | |
| download | Studium-master.tar.gz Studium-master.tar.bz2 | |
Diffstat (limited to 'Bachelor/Prog1/Prakt6/prg1p6_1/frozenm.h')
| -rw-r--r-- | Bachelor/Prog1/Prakt6/prg1p6_1/frozenm.h | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/Bachelor/Prog1/Prakt6/prg1p6_1/frozenm.h b/Bachelor/Prog1/Prakt6/prg1p6_1/frozenm.h new file mode 100644 index 0000000..7631346 --- /dev/null +++ b/Bachelor/Prog1/Prakt6/prg1p6_1/frozenm.h @@ -0,0 +1,31 @@ +// Programmieren 1, Praktikum 6, Aufgabe 1
+// Author: Sven Eisenhauer
+// Date: 13.01.2005
+// File: frozenm.h
+// Description: class FrozenMeal
+
+
+
+#ifndef FROZENM_1
+#define FROZENM_1
+
+#include <string>
+using std::string;
+
+class FrozenMeal {
+public:
+ //FrozenMeal(char *, int);
+ FrozenMeal (string, int);
+ ~FrozenMeal();
+ void changeTemperature(double &);
+ string getName() { return name; }
+ int getVolume() { return volume; }
+ double getCoefficient() { return coefficient; }
+ double getTemperature() { return temperature; }
+private:
+ string name;
+ int volume;
+ double temperature;
+ double coefficient;
+};
+#endif
\ No newline at end of file |
