Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
该程序可以编译和运行,但是,音乐不是我所期望的。每次运行程序时,只有“叮”的一声。当我评论该行时PlaySound(TEXT("bgm.mp3"), NULL, SND_FILENAME);“叮”的声音不出来。该文件和 mp3 文件位于同一路径。我的代码有什么问题?非常感谢。
PlaySound(TEXT("bgm.mp3"), NULL, SND_FILENAME);