The easiest way that I've seen to make sounds with C++ is with

Beep (frequency,duration);

But, I've run into a snag. This command only outputs to the internal speaker which was all good on my old computer, but on my new laptop I either don't have an internal speaker or it is broken. My question is, is there any way to make Beep output through the headphone jack or normal speakers? If you need the model number or anything for my laptop I can find them and also if this is purely a hardware problem then I can move the thread. Thanks for any help!! ^_^

Use a Win32 compiler and a Win32 API such as PlaySound

> but on my new laptop I either don't have an internal speaker or it is broken.
So no beep at the end of the power on self test (POST) then?

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.