I'm trying to read from the console because I writing a chess game for the console and I need to figuare out what piece is beign moved, so I need to read from it, but I keep on getting errors when I try this code...
Thanks in advance...
int x; // original X co-ordinate of the piece being moved.
int y; // original Y co-ordinate of the piece being moved.
if(turn == 1)
turn++; // Sorting out turning system
else if(turn == 2)
make_move = (int)x; // Finding out what piece has been moved
make_move = y;
a = (7*(x - 65)) + 10;
Position.X = a;
b = 5*y;
Position.Y = b;