From 33613a85afc4b1481367fbe92a17ee59c240250b Mon Sep 17 00:00:00 2001 From: Sven Eisenhauer Date: Fri, 10 Nov 2023 15:11:48 +0100 Subject: add new repo --- Bachelor/Prog1/probeklausur/lotto.h | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 Bachelor/Prog1/probeklausur/lotto.h (limited to 'Bachelor/Prog1/probeklausur/lotto.h') 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 -- cgit v1.2.3