Hi,
I don't get what is happening with this code.
Code:
	// BEGIN DEBUG
	iNTies=0;
	printf("iNTies: %d\n", iNTies);
	if (iNTies!=0) {
		printf("Checked all players, player %d has winned", WinningPlayer);
		AskForAnyKeyStroke();
	} else {
		printf("We have a tie\n");
		AskForAnyKeyStroke();
	}
	// END DEBUG
Unbelivable, the output of the program is:
Code:
iNTies: 0
We have a tie
Any idea? I really don't get it, iNTies was previously declared as an int (it is a local variable of a function).
TIA & Regards ...