diff --git a/db.c b/db.c new file mode 100644 index 0000000..eabcbfb --- /dev/null +++ b/db.c @@ -0,0 +1,127 @@ +#include +#include +#include +#include + +// Callback function taken from https://sqlite.org/quickstart.html +static int print_callback(void *NotUsed, int argc, char **argv, char **azColName){ + for(size_t i=0; i