This commit is contained in:
2023-09-23 22:20:41 +03:00
parent 609aa52e66
commit 66997adad5
42 changed files with 642 additions and 0 deletions

16
fileopen.c Executable file
View File

@ -0,0 +1,16 @@
#include <stdio.h>
int main () {
FILE *fptr;
fptr = fopen("test1.txt", "r");
char myStr[100];
while(fgets(myStr, 100, fptr)) {
printf("%s", myStr);
}
fclose (fptr);
return 0;
}