#include "windows.h " #include <iostream> #include "shellapi.h " using namespace std; int main() { shellexecute(0, "open","ab.in",NULL,NULL, sw_show); return 0; }
shellexecute(0, "open", 你要打开的东西, null, null, sw_show)
比如 int main() { system(“notepad”); //打开windows的记事本 return 0; }
64,662
社区成员
250,488
社区内容
加载中
试试用AI创作助手写篇文章吧