Generate Sound (Beeps) ??

Hello everyone,,


I'm confused about this question! Please, I need your help ..



Q: Use the time function to generate 5 Beeps every 10 Seconds for 3 Times.



Thank you in advance.
Last edited on
You could use the following code to generate a beep:

printf("\a");



OK. it works but the main problem was how to make Beeps every a certain number of Seconds ??


Well... What have you tried??? Have you looked at sleep() functions? Sounds like all you need to do is sleep and beep. Do some research and write some code. Post back if you get stuck.
Topic archived. No new replies allowed.