Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
is it possible to get file size if it is opened with fopen_s function? :doh:
You may use fseek() to go the end of the file, and use ftell() to get file current position, which is now also the file size.
fseek()
ftell()
Once you have opened your file: long size; fseek(file,0,SEEK_END); size = ftell(file); rewind(file);