Hi
How to get local disk ( c:\ or d:\ ) used space in windows.
Any API ?
http://www.computing.net/answers/programming/how-to-get-free-disk-space-in-win32/10516.html
Googling would have helped you get the answer lot faster as this was the first on my google results.
To the OP: in case you're copying the whole thing (look at Sky Diploma's post, code mentioned in the link), then don't forget to change void main()
to int main()
:P
And:
#include <iostream.h>
#include <iomanip.h>
#include <string.h>
to:
#include <iostream>
#include <iomanip>
#include <cstring>
:P
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.