Jump to content
  • Advertisement


This topic is now archived and is closed to further replies.



This topic is 5910 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I want to be able to calculate how much hard drive space is free on a user''s computer. I am using VC++ in Win32. Obviously, I will be using GetDiskFreeSpaceEx(). However, the function wants to use LARGE_INTEGERs. How would I go about printing such a number (union, actually, containing either a LONGLONG or two DWORDs) using printf/sprintf/fprintf? -Mike

Share this post

Link to post
Share on other sites
Try _i64toa. I don''t think printf family can accept __int64s (which is what LONGLONGs are).

Come to #directxdev IRC channel on AfterNET

Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!