C++调用DOS指令清理电脑磁盘碎片

```#include<iostream>
#include<windows.h>
using namespace std;
int main()
{
    
    
	system("color a");//改变字体颜色
	system("cleanmgr");//选择清理的磁盘
	system("pause");//缓冲
	return 0;
}

猜你喜欢

转载自blog.csdn.net/HONKER_MENGSHANG/article/details/106881160