refactor: executable per day

This commit is contained in:
2023-12-02 15:26:59 +01:00
parent 9655351a96
commit e1a8ee290f
6 changed files with 32 additions and 67 deletions

View File

@@ -3,11 +3,13 @@
//
#include <stdio.h>
#include "main.h"
#define ARRAY_LIST_IMPLEMENTATION
#include "array_list.h"
int read_line(FILE *f);
int day_1() {
int main() {
FILE *f = fopen("day_1.txt", "r");
if(f == NULL) {
printf("Error! Missing input file!");