#include "cyoa.c" int main(int argc, char **argv) { if (argc < 2) { return 1; } FILE* fin = fopen(argv[1], "r"); auto mypages = CyoaParse(fin); for (Page* page : pages) { print_page(page); } return 0; }