Jump to content
  • Advertisement
Sign in to follow this  
t5hoo6

Dose any one have the code to:

This topic is 4749 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

Can any one give me the code(s) or link(s) to load up *.BMP and *.WAV files in C and C++?

Share this post


Link to post
Share on other sites
Advertisement
Nehe covers both topics

Loading Bmp's
Playing WAV files

However, personally I would use a sound library like FMOD for playing sounds and an image library like SDLImage for loading image formats (although SDL has it's own method of loading Bmp files called SDL_LoadBMP IIRC )

Edit: Just realized this was a UNIX forum... which essentially nullifies Nehe's WAV loading tutorial

Share this post


Link to post
Share on other sites
Quote:
Original post by nilkn

Implementing loaders from these resources should provide a challenge (because neither source provides any code, just theory).

HTH,
nilkn


Personally I'd consider learning a new file format less of a challenge than a waste of time--especially since it's been done so many times
But that's just me :P

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

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

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!