Guest User

Untitled

a guest
May 25th, 2018
146
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. #include <io.h>
  2. #include <stdio.h>
  3.  
  4. int main(int ac, char **av)
  5. {
  6. printf("hello\n");
  7. FILE *f = fopen(".tmp", "w");
  8. fprintf(f,"qwertyuiopasdfghjklzxcvbnm");
  9. __int64 off = 10;
  10.  
  11. _lseeki64(_fileno(f), off, 0);
  12. __int64 off2 = _telli64(_fileno(f));
  13.  
  14. printf("%d\n", (int)(off2));
  15. return 0;
  16. }
Add Comment
Please, Sign In to add comment