This commit is contained in:
2024-03-05 14:19:35 +03:00
parent b199446865
commit a4b587dc41
31 changed files with 0 additions and 0 deletions

16
w3school/fileopen.c Normal 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;
}