Initial commit

This commit is contained in:
lzy
2024-03-10 16:11:35 +08:00
commit 0baf07a597
14 changed files with 132 additions and 0 deletions

18
Chapter1/Section3/a.c Normal file
View File

@@ -0,0 +1,18 @@
#include <stdio.h>
#include <stdlib.h>
#include <errno.h>
#include <string.h>
int main()
{
FILE *fp;
fp = fopen("tmp", "r");
if (fp == NULL)
{
fprintf(stderr, "fopen():%s\n", strerror(errno));
exit(1);
}
puts("ok!");
exit(0);
}