checking Integer uniqueness
Posted on 2004-04-15
I am currently doing an assignment which i am creating a program which will check all Lotto draws from a comma delimeted text file. On the GUI i have 6 Combo boxes which display numbers 1 - 45 somehow i need to come up with a way to check that when the user selects a number, it will then update the available comboboxes so the user cannot select the same number twice. Does anyone have any ideas.
I as thinking of an array with a nested for loop which compares the values and then sets a boolen to false or true however i cannot do this because it will check itself and therefore send false result.
Anyone have any ideas....