/ f U$ [/ q; e* g 如下是两种可行的做法: / k! k5 Z/ M8 b! W* b7 r 1.WinExec("notepad.exe",0);//当然了,还要考虑路径的问题 ; k; {9 D4 a7 b 2.WinExec("start myfile.txt",0);//调用默认打开txt文件的程序,打开该txt文件 - q6 ~+ C) l3 ^5 U, {& Z WinExec("start myfile.doc",0);//调用默认打开doc文件的程序,打开该doc文件 5 b/ ]& B3 W, V. M : A1 o& B7 x- R; O7 r$ w$ A% E! b
| 欢迎光临 数学建模社区-数学中国 (http://www.madio.net/) | Powered by Discuz! X2.5 |