Ahh - you're right, I'm sorry. I didn't read your code closely enough. I would have used each advisors array index to identify them, rather than storying a number in each entry.
Ignore what I...
Type: Posts; User: smokeyangel
Ahh - you're right, I'm sorry. I didn't read your code closely enough. I would have used each advisors array index to identify them, rather than storying a number in each entry.
Ignore what I...
Good good!
Your check() functions checks to see if every value in chosen[] has been written. It does this by checking that the 5 values are > 0.
If you count from 1 in your arrays, that's...
The thing that's making your code go badly wrong is that you're not resetting lp1 to 0 after the init loop on ln 52. lp1 is 13 when leaving that loop! So the loop will never terminate, because it's...