Home > Back-end > Why let her voice was not heard? CPP files and MP3 in the directory at the same level
Why let her voice was not heard? CPP files and MP3 in the directory at the same level
Time:10-01
# include # include # include # include # pragma comment (lib, "winmm. Lib") using namespace std; Int main () { Initgraph (210, 164); McISendString (" open Book 3 Unit 4. Mp3 alias up mymusic ", NULL, 0, NULL); McISendString (" play up mymusic ", NULL, 0, NULL); IMAGE img. Loadimage (& amp; Img, "mypic_bg. GIF"); Putimage (0, 0, & amp; Img);
_getch (); }
CodePudding user response:
Use of vs2019
CodePudding user response:
Or the wrong path, a print McISendString returns, and see if it is 0