why are errors appearing under the '=' and the 'board'?

im making a checkers game and im a beginner.

i am tryin to move the pieces; but im getting so many errors. Can anyone help explain why? and assist me to a solution please.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
void getpiecetomove(int start, int end){
	if(pieces)
	{
		 char tmp1, tmp2;
     
        //Regular Moves Pieces
        tmp1 = board[start];
        board[start] = ' ';
        board[end] = tmp1;
 
        tmp2 = board[start];
        board[start] = ' ';
        board[end] = tmp2;

		system("cls");
	}
}

What errors are you getting? This might come as a shock to you, but we can't read your mind, so you actually need to tell us what errors you're getting, and where they are.

Where are pieces and board defined?
Topic archived. No new replies allowed.