User profile: dhayden

User info
User name:dhayden
History
Joined:
Number of posts:51
Latest posts:

INFINTE LOOP IN SWITCH CHOICE
In menu() you have this: [code] int sel; ... cin >> sel; [/code] This code reads the number that you...

Copying a char into a char*
You need to set buf to an array of two chars. Assign c to the first element in the array, and assig...

MAX ELEMENT IN An ARRAY
You've defined "Row" and "col" as const ints at the beginning, but you reuse those variables in Max(...

Tic Tac Toe game help
Look closely at the code that checks if the top row is all the same: [code] player = board[0][0]...

toupper works but tolower doesn't?
Remove the semicolon at the end of line 43. As coded the loop does this: [code] for(i=1;i<length;i+...