sound2
cant get the file directory to work it says there's a error.
1 2 3 4 5 6 7 8 9 10 11 12
|
#include <iostream>
#include <Windows.h>
#include <stdio.h>
using namespace std;
int main()
{
cout << "test sound 1" << endl;
Sleep(10);
PlaySound("C:\\Users\\kyle\\Music\\applause-01.wav", NULL, SND_ASYNC);
}
|
i did that and it doesnt work
Topic archived. No new replies allowed.