if(the_board[y][x]== RED &&(((the_board[y+1][x+1]== WHITE || the_board[y+1][x+1]== WHITE_KING)&& the_board[y+2][x+2]==0)||((the_board[y+1][x-1]== WHITE ||the_board[y+1][x-1]== WHITE_KING )&& the_board[y+2][x-2]==0&&(y+2<= BOARD_SIZE)&&(x-2>=0)))){
prog.cpp:1:22: error: checkers.h: No such file or directory
prog.cpp: In function ‘void print_board()’:
prog.cpp:7: error: ‘printf’ was not declared in this scope
prog.cpp:9: error: ‘printf’ was not declared in this scope
prog.cpp:12: error: ‘BOARD_SIZE’ was not declared in this scope
prog.cpp:16: error: ‘the_board’ was not declared in this scope
prog.cpp: In function ‘int checkBounds(int, int, int, int)’:
prog.cpp:41: error: ‘BOARD_SIZE’ was not declared in this scope
prog.cpp: In function ‘int changePlayer()’:
prog.cpp:47: error: ‘currentPlayer’ was not declared in this scope
prog.cpp:47: error: ‘redTurn’ was not declared in this scope
prog.cpp:48: error: ‘whiteTurn’ was not declared in this scope
prog.cpp: In function ‘int printPlayer()’:
prog.cpp:55: error: ‘currentPlayer’ was not declared in this scope
prog.cpp:57: error: ‘printf’ was not declared in this scope
prog.cpp: In function ‘int checkPlayerPiece()’:
prog.cpp:66: error: ‘currentPlayer’ was not declared in this scope
prog.cpp:66: error: ‘whiteTurn’ was not declared in this scope
prog.cpp:66: error: ‘the_board’ was not declared in this scope
prog.cpp:66: error: ‘y_from’ was not declared in this scope
prog.cpp:66: error: ‘x_from’ was not declared in this scope
prog.cpp:66: error: ‘WHITE’ was not declared in this scope
prog.cpp:66: error: ‘WHITE_KING’ was not declared in this scope
prog.cpp:67: error: ‘VALID_MOVE’ was not declared in this scope
prog.cpp:68: error: ‘redTurn’ was not declared in this scope
prog.cpp:68: error: ‘RED’ was not declared in this scope
prog.cpp:68: error: ‘RED_KING’ was not declared in this scope
prog.cpp:69: error: ‘VALID_MOVE’ was not declared in this scope
prog.cpp:71: error: ‘INVALID_MOVE’ was not declared in this scope
prog.cpp: In function ‘int movePiece()’:
prog.cpp:75: error: ‘the_board’ was not declared in this scope
prog.cpp:75: error: ‘y_to’ was not declared in this scope
prog.cpp:75: error: ‘x_to’ was not declared in this scope
prog.cpp:75: error: ‘y_from’ was not declared in this scope
prog.cpp:75: error: ‘x_from’ was not declared in this scope
prog.cpp: In function ‘int is_jumper(int, int)’:
prog.cpp:82: error: ‘the_board’ was not declared in this scope
prog.cpp:82: error: ‘RED’ was not declared in this scope
prog.cpp:82: error: ‘WHITE’ was not declared in this scope
prog.cpp:82: error: ‘WHITE_KING’ was not declared in this scope
prog.cpp:82: error: ‘BOARD_SIZE’ was not declared in this scope
prog.cpp:83: error: ‘TRUE’ was not declared in this scope
prog.cpp:84: error: ‘RED_KING’ was not declared in this scope
prog.cpp:85: error: ‘TRUE’ was not declared in this scope
prog.cpp:87: error: ‘TRUE’ was not declared in this scope
prog.cpp:89: error: ‘TRUE’ was not declared in this scope
prog.cpp: In function ‘int check_move(int, int, int, int, int, int)’:
prog.cpp:99: error: ‘whiteTurn’ was not declared in this scope
prog.cpp:101: error: ‘redTurn’ was not declared in this scope
prog.cpp:105: error: ‘y_from’ was not declared in this scope
prog.cpp:106: error: ‘INVALID_MOVE’ was not declared in this scope
prog.cpp:107: error: ‘the_board’ was not declared in this scope
prog.cpp:108: error: ‘INVALID_MOVE’ was not declared in this scope
prog.cpp:109: error: ‘VALID_MOVE’ was not declared in this scope
prog.cpp:110: error: ‘INVALID_MOVE’ was not declared in this scope
prog.cpp:111: error: ‘check_step’ was not declared in this scope
prog.cpp:112: error: ‘INVALID_MOVE’ was not declared in this scope
prog.cpp: In function ‘int check_step(int, int, int, int, int)’:
prog.cpp:123: error: ‘VALID_MOVE’ was not declared in this scope
prog.cpp:125: error: ‘INVALID_MOVE’ was not declared in this scope
prog.cpp:129: error: ‘VALID_MOVE’ was not declared in this scope
prog.cpp:131: error: ‘INVALID_MOVE’ was not declared in this scope
prog.cpp: In function ‘void move_piece(int, int, int, int, int, int)’:
prog.cpp:138: error: ‘the_board’ was not declared in this scope
prog.cpp: In function ‘int jump_exists(int)’:
prog.cpp:147: error: ‘WHITE’ was not declared in this scope
prog.cpp:148: error: ‘BOARD_SIZE’ was not declared in this scope
prog.cpp:150: error: ‘the_board’ was not declared in this scope
prog.cpp:150: error: ‘WHITE_KING’ was not declared in this scope
prog.cpp:150: error: ‘is_jump’ was not declared in this scope
prog.cpp:151: error: ‘printf’ was not declared in this scope
prog.cpp:152: error: ‘TRUE’ was not declared in this scope
prog.cpp:156: error: ‘RED’ was not declared in this scope
prog.cpp:157: error: ‘BOARD_SIZE’ was not declared in this scope
prog.cpp:159: error: ‘the_board’ was not declared in this scope
prog.cpp:159: error: ‘RED_KING’ was not declared in this scope
prog.cpp:159: error: ‘is_jump’ was not declared in this scope
prog.cpp:160: error: ‘printf’ was not declared in this scope
prog.cpp:161: error: ‘TRUE’ was not declared in this scope