Almost done with connect-4, NEED A LITTLE HELP

This is a discussion on Almost done with connect-4, NEED A LITTLE HELP within the C Programming forums, part of the General Programming Boards category; hi,
I was wondering if someone has the disponibility to tell me what is wrong with this code. I am ...

Almost done with connect-4, NEED A LITTLE HELP

hi,
I was wondering if someone has the disponibility to tell me what is wrong with this code. I am tryign to make the connect-4 game, but i am having some problems.
-so far, I have the board and the user's tokens working, but for some reason when it ask for the user's choice, the code skips the computer's choice one play, and then it throws the computer's choice twice in the next play. It keeps doing this throughout the whole process.
I've been trying to find the solution to the problem, but i can't find it and fix it.

If someone has any comments or solutions..would be greatly appreciated.

ok..I understand what you mean, and i got that idea in the main function. I still have the problem that when i run this code, it ask the user for a choice( 0 to 6), but when the computer puts the random number, it skips one play. In other words, user play correctly, but the computer throws the random number every two plays.
I think there is a mistake in the check and check_for_winner function, for some reason is not returning the correct job. I can't figure out what it wrong with it.