add input functions

This commit is contained in:
2021-12-10 12:41:36 -08:00
parent d564364686
commit 12363f0ed6
5 changed files with 115 additions and 0 deletions

13
include/input.h Normal file
View File

@ -0,0 +1,13 @@
#ifndef LIBFLINT_INPUT_H
#define LIBFLINT_INPUT_H
#include <stdlib.h>
char *get_input(const char *);
char **split(const char *, size_t *, const char *);
char **get_lines(const char *, size_t *);
int *get_ints(const char *, size_t *);
void del_split(char **);
void del_lines(char **);
#endif // LIBFLINT_INPUT_H