diff options
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 |
