.net - C++ Determine remaining space of hard drive -


i programming c++ in visual studio 2010 , wondering if there easy way remaining space of hard drive in mb. making program records images , want able see remaining space. noticed visual basic has following:

dim cdrive system.io.driveinfo cdrive = my.computer.filesystem.getdriveinfo("c:\") msgbox(cdrive.totalsize) 

is there in c++? thanks

edit 1: responses guys, have finished work i'll have @ suggestions tomorrow

getfreediskspaceex want call.

sample code here.


Comments

Popular posts from this blog

c - Bitwise operation with (signed) enum value -

xslt - Unnest parent nodes by child node -

YouTubePlayerFragment cannot be cast to android.support.v4.app.Fragment -