trojanxem

Untitled

Mar 1st, 2012
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.18 KB | None | 0 0
  1. #include <stdio.h>
  2. #include <conio.h>
  3. int main()
  4. {
  5. FILE *test;
  6. char c;
  7. test=fopen("test.txt", "r+t");
  8. while ((c=fgetc(test))!=EOF)
  9. printf("%c",c);
  10. fclose(test);
  11. getch();
  12. }
Advertisement
Add Comment
Please, Sign In to add comment