#include #include #include #include #include #include /** / Questions obtained from https://sourceforge.net/projects/triviadb/ / Questions are split into 14 files - b[01-14].txt / / Format: / [CATEGORY: ]QUESTION*ANSWER1[*ANSWER2 ...] / where things in [] are not always present / / Hideous code, but only needs to be run one time. **/ static int callback(void *x, int argc, char **argv, char **azColName) { int i; for (i = 0; i