头文件: #include<Windows.h> 代码块: char file_path[] = "C:\\Users\\Administrator\\Desktop\\1.doc"; DeleteFile(file_path);