.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

python - Healpy: From Data to Healpix map -

c - Bitwise operation with (signed) enum value -

xslt - Unnest parent nodes by child node -