I am getting some strange compiler errors. I had this code working fine this morning and unless Im losing my marbles, I dont remember changing anything except writing some new functions. I commented out most of the program and am still getting compiler errors. I am getting illegal use and syntax error on line 19, 20 and 21 (declarations under main). Any suggestions? Thanks in advance.
Code:
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include <time.h>
#define pause system("pause")
#define cls system("cls")
#define flush fflush(stdin)
typedef struct {
char word[10];
}WORDS;
//int enterWords(WORDS userWords[]);
//void inputWords(WORDS userWords[], char** board, int totalWords);
int main (){
srand(time(NULL));
WORDS userWords[16];
char **board;
int i, n, numWords;
return 0;
}