Jump to content
  • Advertisement

Archived

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

doctorsixstring

LARGE_INTEGERs

This topic is 5990 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
Advertisement
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.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!