How do I do it? I thought I saw a "sound()" someplace, but I'm not sure what header it's in or how to use it.
Andrew
How do I do it? I thought I saw a "sound()" someplace, but I'm not sure what header it's in or how to use it.
Andrew
There is a beep function in stdlib, but I have never used it before, and I don't even know what it does. I would give it a try, though.
Will give you a system beep, I think it ultimately depends on your compiler. Worked for me when I tried it on Dev-C++Code:printf("\a");
DrakkenKorin
Get off my Intarweb!!!!
There is a Windows fuction called Beep(). Since you are probably not using Windows NT, you can set it's two parameters to zero.
Thing is, it only gives you the default system beep, no way to pick the sound...