cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
Generate Sound (Beeps) ??
Generate Sound (Beeps) ??
Nov 18, 2015 at 9:25am UTC
Beginner Student
(5)
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 UTC
Nov 18, 2015 at 9:43am UTC
liuyang
(217)
You could use the following code to generate a beep:
printf(
"\a"
);
Nov 18, 2015 at 1:57pm UTC
Beginner Student
(5)
OK. it works but the main problem was how to make
Beeps
every a certain number of
Seconds
??
Nov 18, 2015 at 3:20pm UTC
cnoeval
(643)
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.