ummmmmm, this may not be c++ programming maybe its windows, i dunno but can somebody tell me why it doesn't work
it gives me this errorCode:#include <iostream>
#include <windows.h>
#include <mmsystem.h>
main()
{
PlaySound("c:/sound.wav", NULL, PND_ASYNC); // This plays the file in the backround
Sleep(400);
return 0;
}
C:\Program Files\DevStudio\SharedIDE\bin\sound test.cpp(9) : error C2065: 'PND_ASYNC' : undeclared identifier
I remembered to use code tags, yay!