Use a library to (a) read the sound file(s) and (b) play them back. (I'd recommend trying both yourself at some point in your spare time, but...)
Perhaps (*nix):
- http://www.underbit.com/products/mad/
- https://www.xiph.org/ao/
- http://libsdl.org/
Windows: DirectX.