Generate Sound (Beeps) ??

Nov 18, 2015 at 9:25am
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 Nov 18, 2015 at 9:29am
Nov 18, 2015 at 9:43am
You could use the following code to generate a beep:

printf("\a");

Nov 18, 2015 at 1:57pm


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


Nov 18, 2015 at 3:20pm
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.