打开系统的空白记事本:
#include <iostream>
using namespace std;
int main(){
system("notepad.exe");
return 0;
}
还有一种打开文件,但不是所有系统都支持:
#include <iostream>
using namespace std;
int main(){
system("d://hello world.exe");
return 0;
}
打开系统的空白记事本:
#include <iostream>
using namespace std;
int main(){
system("notepad.exe");
return 0;
}
还有一种打开文件,但不是所有系统都支持:
#include <iostream>
using namespace std;
int main(){
system("d://hello world.exe");
return 0;
}