Laid groundwork for the parsing of words.txt file

This commit is contained in:
Aidan Haas
2022-11-07 14:00:21 -05:00
committed by GitHub
parent f3d4a24caa
commit ccf5273b44
3 changed files with 85 additions and 10 deletions
+8 -1
View File
@@ -4,6 +4,13 @@
#define MAX_STRING 256
#define NUM_MODES 5
#define NUM_MISC 3
#define SUCCESS 1
#define FAILURE 0
char TIMED_MODES_STRING[5][MAX_STRING] = { "5s", "10s", "25s", "30s", "60s" };
char WORD_MODES_STRING[5][MAX_STRING] = { "10", "25", "50", "100", "200" };
char MISC_STRING[3][MAX_STRING] = {"Exit", "Stats", "Settings"};
char MISC_STRING[3][MAX_STRING] = {"Exit", "Stats", "Settings"};
typedef struct {
int number_of_words;
char words[];
} Word_array;