Size of binary file? [C++]

Started by
9 comments, last by MatsK 13 years, 2 months ago

Use stat() to find the size of a file. It accesses the file's metadata rather than opening the file itself, so is more efficient.


Moot point, since I need to read the file anyways. See above code.

This topic is closed to new replies.

Advertisement