finish copy.c demo

This commit is contained in:
2026-06-30 09:07:09 +10:00
parent 17abac161e
commit 9b4fd1e5c1

View File

@@ -11,7 +11,7 @@ int main(void)
FILE *output = fopen("out.txt", "w"); FILE *output = fopen("out.txt", "w");
if (output == NULL) if (output == NULL)
{ {
perror("Failed to open out.txt") perror("Failed to open out.txt");
fclose(input); fclose(input);
return 1; return 1;
} }
@@ -25,8 +25,8 @@ int main(void)
/* /*
TODO: TODO:
+ clone: clone git repository and start working on copy.c + clone: clone git repository and start working on copy.c
- first: go through part 3 of cs50 week 4 memory section.pdf + first: go through part 3 of cs50 week 4 memory section.pdf
- make: get copy.c compiling with make + make: get copy.c compiling with make
- complete: fix all problems and ensure the demo program works as intended + complete: fix all problems and ensure the demo program works as intended
- wait: if I need to go work on another file, it will go in a wait: task. + wait: if I need to go work on another file, it will go in a wait: task.
*/ */