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!

Recommended Answers

All 2 Replies

External to what?

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.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.