Archived

This topic is now archived and is closed to further replies.

TwisteR

C++ console music

Recommended Posts

Hi, I have another question about console games (D.O.S. text based games!). How do you import .wav files into the program and play it?????? Thanx. ----------------------------- -------Mitch Mulholland------ ----A.K.A.= TwisteR---------- -----------------------------

Share this post


Link to post
Share on other sites
Well first of all, when you say "DOS", do you mean an actual DOS program made with a DOS compiler, or a Win32 console app?

~~~~~~~~~~
Martee

Share this post


Link to post
Share on other sites
sorry about that. I am using Microsoft Visual C++ 6.0 and it is a win32 console app......sorry again....

-----------------------------
-------Mitch Mulholland------
----A.K.A.= TwisteR----------
-----------------------------

Share this post


Link to post
Share on other sites
In that case I believe the whole Win32 API is at your disposal. You could use Playsound(PlaySound?) for simple things, or even DirectSound if you want to.

Share this post


Link to post
Share on other sites