diff options
author | Vincent Douillet <vincent@vdouillet.fr> | 2021-12-02 22:46:01 +0100 |
---|---|---|
committer | Vincent Douillet <vincent@vdouillet.fr> | 2021-12-02 22:46:01 +0100 |
commit | c851f16d1df21d7579af72d842521b951261b092 (patch) | |
tree | 2f1c4672b53afb8c575ff7c64d88b9020034219d /input.h |
day 1 & 2
Diffstat (limited to 'input.h')
-rw-r--r-- | input.h | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -0,0 +1,7 @@ +size_t count_lines(FILE* file); + +int read_lines_as_int(FILE* file, int* result, int resultSize); + +int read_lines_as_string(FILE* file, char** result, int resultSize); + +void free_strings(char** strings, size_t stringCount); |