Third Commit

This commit is contained in:
ahaas25 2022-10-26 19:08:44 -04:00
parent 64fff3feb0
commit 7af0c3e54a
4 changed files with 17 additions and 3 deletions

View File

@ -14,4 +14,10 @@ Similar to my Typing-Teacher project, however this is more focused on analyzing
Objectives: Objectives:
* Clean Code * Clean Code
* Memory Management * Memory Management
* Learning C * Learning C
How To Compile:
Download source files
Install ncurses (If not already installed)
Run "gcc gcc typing_test.c -lncurses"

BIN
a.out

Binary file not shown.

2
run
View File

@ -1,2 +1,2 @@
gcc typing_test.c gcc typing_test.c -lncurses -g
./a.out ./a.out

View File

@ -1 +1,9 @@
#define NAME "Typing Test" #define NAME "Typing Test"
#define MAX_X 5
#define MAX_Y 3
#define MAX_STRING 256
#define NUM_MODES 5
#define NUM_MISC 3
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"};