sorry to tell u,"max"and "min" are not assign !
so call that compare function has no meaning!
may be u need to read max and min from file inp?
that's all.
PS:u should tell what's wrong...
Type: Posts; User: Beair.GQ
sorry to tell u,"max"and "min" are not assign !
so call that compare function has no meaning!
may be u need to read max and min from file inp?
that's all.
PS:u should tell what's wrong...
char board[3][3] = {{'1','2','3'},{'4','5','6'},{'7','8','9'}};
printf("Enter 1 for X and 2 for O: ");
scanf("%d",&move);
///////////////////////
delete this scanf("%d",&move) ,and it...
try like this:
rand = rand()%2 + 1;
so "rand" is in scal [1 2].
additional, u should redefine the function "void generateBoard(int input)"
to "int generateBoard(int input)" to return the...
try redefine the "word" "static char" to "static unsigned char"!
u will find the result is what u want!