Computing.Net > Forums > Programming > C++ determining the size of a file

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

C++ determining the size of a file

Reply to Message Icon

Name: iamthejake2000
Date: October 23, 2005 at 17:42:16 Pacific
OS: XP Pro x64, 98, MS-DOS 6.
CPU/Ram: Athlon 64 3200+, 768MB 51
Comment:

I'm learning C++ and am working with console applications. With fstream, how can I determine the exact size of a file in bytes? Thanks.



Sponsored Link
Ads by Google

Response Number 1
Name: iamthejake2000
Date: October 23, 2005 at 21:15:37 Pacific
Reply:

Nevermind, I figured out a way around my problem.


0
Reply to Message Icon

Related Posts

See More


changeing types Programming CRM business ...



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: C++ determining the size of a file

Length of a file in C www.computing.net/answers/programming/length-of-a-file-in-c/831.html

i wanted to delete the content of a text file www.computing.net/answers/programming/i-wanted-to-delete-the-content-of-a-text-file/19673.html

size of memory block in malloc www.computing.net/answers/programming/size-of-memory-block-in-malloc/6776.html