Jump to content
  • Advertisement

Archived

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

TwisteR

C++ console music

This topic is 6228 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

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
Advertisement
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

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!