diff options
author | Anthony Wang | 2022-04-18 20:56:42 -0500 |
---|---|---|
committer | Anthony Wang | 2022-04-18 20:56:42 -0500 |
commit | aff6510957ba1c8e23b5ccb1f49d6942ed4cf53c (patch) | |
tree | 628a44d6a20a31ba1dbad5eca9da4662b9973edf /README.md | |
parent | 97165561c9b5f231552a4d798490572102c83929 (diff) |
Fix typo in README
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -6,7 +6,7 @@ C port of [SD](https://git.exozy.me/Ta180m/SD), a very efficient flash cards app Flash cards are stored in the `cards` table of a SQLite database. There are four columns: `idx INTEGER PRIMARY KEY, weight INTEGER, key STRING, val STRING`. The `idx` is a unique index for each card, starting at 0. The weight is how often the card should come up. The key and value are the front and reverse sides of the card. You can use the `sqlite3` CLI to create a card deck. -Now build this project with `gcc cd.cpp -o cd -O2 -march=native` and run `./cd` to enjoy a fast flash cards experience! The program will display the `key` of a randomly selected card. Press any key to show the `val` of the card. Now press either `y` or `n` depending on whether you got the card correct, and the program adjusts that card's weight. +Now build this project with `gcc cd.c -o cd -O2 -march=native` and run `./cd` to enjoy a fast flash cards experience! The program will display the `key` of a randomly selected card. Press any key to show the `val` of the card. Now press either `y` or `n` depending on whether you got the card correct, and the program adjusts that card's weight. If you're wondering where the name came from, this is the C port of [SD](https://git.exozy.me/Ta180m/SD). |