Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <stddef.h>
- void main()
- {
- FILE *fp;
- char c;
- if((fp = fopen("mio.txt" , "r")) != NULL)
- {
- while((c = fgetc (fp)) != EOF)
- putchar(c);
- fclose(fp);
- }
- else
- printf("Il File non puo' essere aperto.");
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement