清华大佬耗费三个月吐血整理的几百G的资源,免费分享!....>>>
#include <stdio.h> #include <windows.h> void pexit(); void main(){ printf("***Design by Phil***\n\n"); printf("请输入发生错误问题的移动硬盘盘符:"); char diskname; scanf("%c",&diskname); char s[32]; sprintf(s,"chkdsk %c: /F",diskname); int index=system(s); if(index==0){ printf("移动硬盘 %c 修复成功\n",diskname); } else{ printf("移动硬盘 %c 修复失败\n建议:重启计算机,再次运行本程序实施移动硬盘修复任务\n",diskname); } pexit(); } void pexit(){ printf("按任意键退出\n"); system("pause"); }