Well after trying to compile your program to find what errors you were talking about, my compiler told me this:
First of all, main should return an int. The standard explicitly says void main isn't allowed, so why use it?
Second of all, your declarations of Fire and FleetSunk don't match those of the actual function. That's what the compiler is trying to tell you. I'll take your Fire function as an example, since FleetSunk has the same problem.
1 2
|
void Fire(char board); //Declaration
void Fire(char board[25][25]); //Implementation
|
Your declaration declares a function that takes a single char as argument, whereas your implementation (the correct one) declares a function that takes a 2-dimensional char array with 25 elements in each dimension.
So to resolve that problem, you should change the declaration to be the same as the implementation.
Last of all, my compiler complains about an extra closing bracket at the end of the file (after your FleeSunk function). Remove it, then your code will compile (I have no idea if it will actually run though, I didn't inspect the logic).