Yeah, I know I shouldn''t use int*, only did so for the extra practice.
The problem with a 3x3 tic-tac-toe board is that the player who start always wins.
Thanks for helping me with the tags.
Problem with pointer to multidimensional array on heap.
I don''t understand why you would want to create
a dynamic array to do tic-tac-toe.
I ''ve written it before and I use
BYTE board[3][3];
or
BYTE board[9];
and they work fine for me.
Q:"Why it doesn''''t work?"
A:"There is a mistake."
Q:"Who made that silly mistake?"
A:"The one who write it."
a dynamic array to do tic-tac-toe.
I ''ve written it before and I use
BYTE board[3][3];
or
BYTE board[9];
and they work fine for me.
Q:"Why it doesn''''t work?"
A:"There is a mistake."
Q:"Who made that silly mistake?"
A:"The one who write it."
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement