954,483 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Two beeps at once.

Hello. I'm kinda new to C++ and want to play two beeps through the system speaker (PC) (Using Beep() of course) at the same time for a song I'm working on. I heard about multithreading, but, as i am only slightly experienced in c++, am having trouble understanding it. Could someone please write a small sample to help me understand?
Kind regards,
Nimaid

P.S.
I would prefer not to use any external libraries. Thanks!

nimaid
Newbie Poster
1 post since Sep 2010
Reputation Points: 10
Solved Threads: 0
 

External to what?

gerard4143
Nearly a Posting Maven
2,272 posts since Jan 2008
Reputation Points: 512
Solved Threads: 387
 

I don't know if it will work, but try sending the '\a' character to an output some how. That's the escape/control character for "beep" in many environments.

Fbody
Posting Maven
2,930 posts since Oct 2009
Reputation Points: 833
Solved Threads: 393
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: