Jun 8, 2010 at 6:59pm UTC
First of all I like how you did your player loop. You are testing 'vote' for a char but it is an int. change the data type to char and see what happens.
Jun 8, 2010 at 7:00pm UTC
I haven't read the whole program, but line 83 is probably not what you meant. You're assigning 1 to b instead of testing for equality.
Jun 8, 2010 at 7:00pm UTC
if (vote == '1' && sq1 == '1' )
Oops. The decimal ASCII code for 1 is 49. Did you mean:
if (vote == 1 && sq1 == '1' )
You'll have to make a few more changes than that one line as well.
EDIT: Check filipe's note as well.
-Albatross
Last edited on Jun 8, 2010 at 7:10pm UTC
Jun 8, 2010 at 7:48pm UTC
Thanks guys!
I see it all works now! Took out some stupid faults and now it works like a dream!
I'm so excited, I just finished my first true project :D
This site rocks!