Hi, this has been annoying me for a few hours, I can't figure out this problem. First, here is the code that the error is concerned with one file that I will copy and paste here:
file 1: piece.h
The error is on the two bolded lines:
Piece(int pieceType, int pieceColor, HDC theHdc, Board theB);
Piece& operator=( Piece & origVal);
int ycoord, xcoord;
int pieceColor, pieceType;
on the first bolded line, I get the following two errors:
type specifier omitted for parameter
parse error before `)'
And the error on the second bolded line is:
syntax error before `;'
I'm assuming both of these errors have to do with defining a Board object. I have even included the board.h on the top of this file as you can see.
board.h is not getting any errors. Can someone tell me what could be going on? I'm confused. Thank you in advance for the help!