playing mp3 file

hey i wanted to ask how i can play mp3 files using c++?

thanks.
google mp3 and C++
I like using SDL for this task.
http://www.libsdl.org/
You will see other libraries when you google mp3 and c++ as helios103 mentioned
Last edited on
iv'e already search google and i found is a bunch of libraries which i didn't install them correctly in my Code::Blocks compiler because i didn't understand the right why to do it
probably .
also i saw that i can download and install visual studio for playing mp3, but i didn't had luck installing this too...
so i wanted to know if there a built in way to play mp3 files ?
or maybe you could walk me through the steps to either installing a library or installing visual studios?
iv'e been searching for a month those answers in the web and for some reason i didn't
find any, i would really appreciate that you will help me, i'm stuck with this for too much time.
thank you
C++ does not have a "built-in" way to play audio.
Lazy Foo has a great SDL tutorial for beginners. Here is the link to get started with SDL for Code::Blocks on Windows:
http://lazyfoo.net/tutorials/SDL/01_hello_SDL/windows/codeblocks/index.php

download FMOD API , then look for samples. Very easy and you can create 3 audio , effects.
Topic archived. No new replies allowed.