#11
|
|||
|
|||
Re: C++ Lottery Program
This looks great. Thanks for all of your help. I really apprecaite it [img]/images/graemlins/smile.gif[/img] Yes I think I do need to learn the language a little better.
|
#12
|
|||
|
|||
Re: C++ Lottery Program
[ QUOTE ]
ok, i got it to work, u should check the logic to make sure it works. [/ QUOTE ] Yeah, I think you got it to compile, but there are still some serious flaws. * As implemented, it is possible for the same number to come up more than once in the drawing. * There is no input checking to verify that these are even integers, let alone that there are no repeats in the picks. * There is no sorting of either the drawing or the picks, and so the comparison could fail to find a winning selection. |
|
|