summaryrefslogtreecommitdiffstats
path: root/Bachelor/Prog1/probeklausur/lotto.h
diff options
context:
space:
mode:
Diffstat (limited to 'Bachelor/Prog1/probeklausur/lotto.h')
-rw-r--r--Bachelor/Prog1/probeklausur/lotto.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/Bachelor/Prog1/probeklausur/lotto.h b/Bachelor/Prog1/probeklausur/lotto.h
new file mode 100644
index 0000000..373a19a
--- /dev/null
+++ b/Bachelor/Prog1/probeklausur/lotto.h
@@ -0,0 +1,25 @@
+// Sven Eisenhauer
+// Probeklausur 09.02.2005
+//
+// Definition of class LottoGenerator
+
+#ifndef LOTTO_H
+#define LOTTO_H
+
+class LottoGenerator {
+public:
+ LottoGenerator();
+ ~LottoGenerator();
+ void drawAllNumbers();
+ void printAllNumbers();
+ void sortSixNumbers();
+ int getAllNumbers( int* );
+ long getNumberOfDraws();
+private:
+ const int ARRAY_SIZE;
+ int * sixNumbers;
+ int seventhNumber;
+ long numberOfDraws;
+};
+
+#endif