i think its finally done

This commit is contained in:
Liam Waldron 2023-04-14 12:15:10 -04:00
parent 921c412d68
commit 77669fd246
2 changed files with 2 additions and 1 deletions

View File

@ -25,5 +25,6 @@ char mkevent(int argc, char *argv[]) {
printf("with name %s\n", argv[3]);
fprintf(fp, "%s\n", argv[2]); /* print date */
fprintf(fp, "%s\n", argv[3]); /* print name */
fprintf(fp, "\n");
fclose(fp);
}

View File

@ -25,7 +25,7 @@ char printevents() {
contents = fgetc(fp);
while (contents != EOF) {
printf ("%c\n", contents);
printf ("%c", contents);
contents = fgetc(fp);
}