Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用 MSVS 2008。我正在用 c 编写一个应用程序,并且想知道确定可用空间和总容量等硬盘信息的最佳方法是什么。
谢谢
Win32 API 参考是您应该寻找的地方。
对可用空间的调用是GetDiskFreeSpaceEx()