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);
}
There is a reply button, use your other topic
http://www.cplusplus.com/forum/beginner/128492/

Then delete this topic + explain exactly what error says.
i did that and it doesnt work
Topic archived. No new replies allowed.