Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<stdio.h>
- int main(void){
- FILE *file;
- file=fopen("test.log","r");
- char line[128];
- while(fgets(line,sizeof(line),file))
- fputs(line,stdout);
- fclose(file);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement