#include <stdio.h>
#include <Windows.h>
#include <mmsystem.h>
#pragma comment (lib,"winmm.lib")
int main(void)
{
if (0 == PlaySound(TEXT("市川淳-OldMemory.wav"), NULL, SND_FILENAME | SND_ASYNC))
{
printf("playsound false");
}
system("pause");
return 0;
}
无音乐播放就结束了