?
Solved

Creating a beep Using Visual C++ 4.0.

Posted on 1997-12-15
3
Medium Priority
?
1,024 Views
Last Modified: 2008-02-01
How can I create a beep from the PC speaker using Visual C++ 4.0? Is there a "sound(Freq.)" and "nosound(Freq.)" that I can use?
0
Comment
Question by:dawn123
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 3

Accepted Solution

by:
os012897 earned 150 total points
ID: 1176316
Hi,

There is the "Beep (freq, duration)" function that u can use

greetings,
        os


0
 
LVL 22

Expert Comment

by:nietod
ID: 1176317
Why two questions?  I don't see the difference?  On think that might be significant is that the beep() function will not return until the sound finishes.  That is not a problem for a warning beep, but is a problem if you want to play music.
0
 

Author Comment

by:dawn123
ID: 1176318
What is the header file that I have to include in order to use the function Beep()? I am using Visual C++4.0.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

  Included as part of the C++ Standard Template Library (STL) is a collection of generic containers. Each of these containers serves a different purpose and has different pros and cons. It is often difficult to decide which container to use and …
Introduction This article is a continuation of the C/C++ Visual Studio Express debugger series. Part 1 provided a quick start guide in using the debugger. Part 2 focused on additional topics in breakpoints. As your assignments become a little more …
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.
Suggested Courses
Course of the Month11 days, 12 hours left to enroll

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question