diff options
| author | yuzu-eva <stevenhu@web.de> | 2024-11-19 22:05:58 +0100 |
|---|---|---|
| committer | yuzu-eva <stevenhu@web.de> | 2024-11-19 22:05:58 +0100 |
| commit | 34f8779858beea561fb2f2f63476164665ace59f (patch) | |
| tree | 38e28772072df90abea285f66ab0227f9752c63a | |
| parent | bde6708e7ecda55697fbb1afc79868a1d821a4a3 (diff) | |
increased size of episode buffer
| -rw-r--r-- | README.md | 5 | ||||
| -rw-r--r-- | main.c | 2 |
2 files changed, 5 insertions, 2 deletions
@@ -21,7 +21,10 @@ Samurai Champloo,14 Bakemonogatari,done Steins; Gate,1 -and so on. +and so on. The episode is actually stored as a string, so you can put "done" or +"abandoned" or anything else you want in there. Allows for a maximum length of +11. + You need to set your filepath in the main.c, but everything else should work out of the box. The Makefile uses clang, but you can change it to gcc in the second line. Or @@ -7,7 +7,7 @@ const char *filename = "./anime.csv"; typedef struct { char name[80]; - char episode[5]; + char episode[12]; } entry_t; typedef enum { |
