using sound in c++

I am just getting started in c++. I have read several books on the subject and have compiled some small programs. With Borland C++ 5.02. I want to use sounds (ie. play .wav files for certain events) in my programs. How do I get started with this? Is there a reference that talks about this. The ones I have read say nothing about sound. They deal only in graphics and text displays.
ko542Asked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
mosfetConnect With a Mentor Commented:
You should get the book "Tricks of the Game Programming Gurus". Not only is it a good book for programming games, but it also has information on how to use sounds. Here is a list of all the books that talk about sound:

Tricks of the Game Programming Gurus
Black Art of 3D Game Programming
More Tricks of the Game Programming Gurus

0
 
chensuCommented:
See Win32 SDK documentation about Waveform Audio under Multimedia section.

The simplest method is using the PlaySound function. There are also other methods: MCI commands, low-level waveform audio functions and DirectSound.
0
 
ko542Author Commented:
Could you elaborate on chensu's comment or maybe he could. Where can I find more info on these MCI commands,low-level waveform audio functions and DirectSound?
           thanks
0
All Courses

From novice to tech pro — start learning today.