I don't have speakers to test it now, but it compiles and runs without errors.
void run()
{
LPCWSTR songlist[3] =
{
TEXT("C:\\sounds\\APPLAUSE.wav"),
TEXT("C:\\sounds\\ARROW.wav"),
TEXT("C:\\sounds\\BOMB.wav")
};
for(int i =0; i<3; i++)
{
PlaySound(songlist[i], NULL, SND_ASYNC | SND_NODEFAULT );
}
}
int _tmain(int argc, _TCHAR* argv[])
{
run();
system("pause");
return 0;
}