How do i find the capacity of a harddrive? is there some GetHardDriveCap function? I just need to find out how big the hard drive is, and how much space is being taken up.
This is a discussion on finding capacity of hard drive within the Windows Programming forums, part of the Platform Specific Boards category; How do i find the capacity of a harddrive? is there some GetHardDriveCap function? I just need to find out ...
How do i find the capacity of a harddrive? is there some GetHardDriveCap function? I just need to find out how big the hard drive is, and how much space is being taken up.
Right click your C drive, properties.I just need to find out how big the hard drive is, and how much space is being taken up.![]()
Well, there are a few things wrong with your code:
1) It does not work.
2) It does not work.
3) It does not work.
Hope this helps.
OS dependent. Standard C++ cannot do it. I'm guessing you're on Windows, so this really ought to be moved to the Windows board.
The word rap as it applies to music is the result of a peculiar phonological rule which has stripped the word of its initial voiceless velar stop.
Wave upon wave of demented avengers march cheerfully out of obscurity unto the dream.
Hi try using this header file and the structure...
May be helpful...
#include <sys/vfs.h> // ??? [statfs(), etc.]
int main(void)
..
// variables
struct statfs fs;
.
.
.
..