Hi I need help on some code on playing music in my program. I get this error that I dont know how to fixs with my code so maybe you all can help me out. I'm just trying to figer out how this code works if my code seems a little short^^;
<This code has been eddit so other can see how the code works, so other can get help on playsound()>Code:#include <iostream> #include <windows.h> using namespace std; int main(void) { PlaySound("nameofsound",NULL,SND_FILENAME|SND_LOOP|SND_ASYNC); getchar(); }
I'm using c++ but this is windows things so I thought I post it here; but if I am wrong on this, sorry to post my q/n right here^^;