Hi Forum
hab hier ein Code den ich gern zum laufen bringen würde...
nur bekomm ich diese fehlermeldung:
ich benutze DevC++
thx schonmal °°°
hab hier ein Code den ich gern zum laufen bringen würde...
nur bekomm ich diese fehlermeldung:
Code:
[Linker error] undefined reference to `PlaySoundA@12'
Code:
#include <iostream>
#include <windows.h> // for PlaySound()
using namespace std;
int main()
{
// play sound as loop (remove SND_LOOP for one time play)
// file boing.wav has be in the working directory
PlaySound("jump.wav",NULL,SND_FILENAME|SND_LOOP|SND_ASYNC);
cin.get(); // wait
return 0;
}
ich benutze DevC++
thx schonmal °°°