char array

http://codepad.org/9zy1sxM6

Im writing a checkers game to work like a tic tac toe console game., i dont now how to make the array use a double char output for 10 - 63 , there are 64 spots on a checkers board 0-63, and i would like double digets to apper in the spaces so u know where to move.
A char is one character, so '10' doesn't make sense. However, characters are integers by nature, so you could do something like this:
1
2
char ch = 10;
cout << (int)ch;


And see 10 on the console.

You may also consider a 2D array: char board[8][8];. Might make life easier?
ok , thanks
Topic archived. No new replies allowed.