#include <windows.h> #include <mmsystem.h> #pragma comment(lib, "WINMM.LIB") void main(void) { PlaySoundA("E:\\1.wav", NULL, SND_ASYNC | SND_LOOP); while(1) { Sleep(1000 * 1000); } }