What is worng with this code?
Code:#include <windows.h> #include <mmsystem.h> int main() { PlaySound("test.wav",NULL,SND_ASYNC|SND_FILENAME); Sleep(1000); return 0; }[Linker error] undefined reference to `PlaySoundA@12'
ld returned 1 exit status
C:\Documents and Settings\SmokeMind\Desktop\Music\Makefile.win [Build Error] [Project1.exe] Error 1