c语言 多窗口显示文本答:输入1-7中任一数字,相应颜色窗口跳出,ESC 退出 include"conio.h"include"stdio.h"include"stdlib.h"void drawb(int index);void FillBox(int x1, int y1, int x2, int y2, int Color, int BkColor);void FillBox(int x1, int y1, int x2, int y2, int Color, int BkColor){ wi...
我要用c语言写一个调用windows media player的程序答:CString str("D:\\music\\1.mp3");ShellExecute(NULL, "open", "wmplayer", str.GetString(), NULL,SW_SHOW);str为你获得的文件及路径名,我试了,这样可以。转换成w的,我一般在前面加个L ShellExecute(NULL, L"open", L"wmplayer", str.GetString(), NULL,SW_SHOW);注意文件名的反...