启动文件、简单的消息框
时间:2014-05-11 14:28:00
收藏:0
阅读:334
C++中打开文件的方法。
1.system();
函数原型: int system(char *command);
作用:发出一个DOS命令。
特点:该函数是同步的,不灵活。不过可以改为system("start XXX");
2.WinExec()
3.ShellExecute()
4.CreateProcess()

MessageBox
模态对话框,程序进入阻塞状态。
评论(0)