Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <io.h>
- #include <stdio.h>
- int main(int ac, char **av)
- {
- printf("hello\n");
- FILE *f = fopen(".tmp", "w");
- fprintf(f,"qwertyuiopasdfghjklzxcvbnm");
- __int64 off = 10;
- _lseeki64(_fileno(f), off, 0);
- __int64 off2 = _telli64(_fileno(f));
- printf("%d\n", (int)(off2));
- return 0;
- }
Add Comment
Please, Sign In to add comment