This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DWORD ukuran_file(char *namafile) | |
{ | |
DWORD posisi=0; | |
DWORD akhir=0; | |
FILE *f; | |
f=fopen(namafile,"rb"); | |
posisi=ftell(f); | |
fseek(f,0,SEEK_END); | |
akhir=ftell(f); | |
fseek(f,posisi,SEEK_SET); | |
fclose(f); | |
return akhir; | |
} |
No comments:
Post a Comment