23 lines
360 B
C
23 lines
360 B
C
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
#include "structs.h"
|
|
#include "libs/fileLoader.h"
|
|
#include "parser.h"
|
|
|
|
#define testing
|
|
|
|
#ifdef testing
|
|
#define FNAME "input_test"
|
|
#else
|
|
#define FNAME "input"
|
|
#endif
|
|
|
|
int main()
|
|
{
|
|
char *filename = FNAME;
|
|
struct OpenFile *o_file = load_file_to_mem(filename);
|
|
|
|
Almanac *data = parseFile(o_file);
|
|
|
|
return 0;
|
|
} |