Thread: Need help on some things

  1. #1
    Registered User TheShape's Avatar
    Join Date
    Jun 2007
    Posts
    3

    Need help on some things

    Hi!

    I'm still very noobie in C++, i did cover most of basic trough books ( arrays,variables, outputs/inputs and etc.).
    Coud someone explain me what shoud i know, and what shoud i learn in order to make program that will give me full black screen and that will load up mp3 file and play it (and loop it ).

    Thanks!

  2. #2
    Registered User
    Join Date
    May 2006
    Posts
    903
    Well, you want to look up audio APIs such as Direct Sound, FMOD and such.

  3. #3
    Registered User TheShape's Avatar
    Join Date
    Jun 2007
    Posts
    3
    API's work like liberies or? Shoud i #include them or?
    Direct sound, fmod... it's really strange to me, shoudnt "Load mp3 and run it" be 2-3 lines of code??

  4. #4
    Registered User
    Join Date
    May 2006
    Posts
    903
    No. It's not as simple as that. C++ has no built-in functions for reading / playing MP3 files. Google FMOD and read on the website.

  5. #5
    Registered User TheShape's Avatar
    Join Date
    Jun 2007
    Posts
    3
    Well, what if i do get my goal and make such program, does every computer must have installed the FMOD API in order to get my program working?

  6. #6
    Registered User
    Join Date
    May 2006
    Posts
    903
    You must distribute the file fmod.dll that comes with the library. It will enable users to run your application.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Suggestions for things to study
    By Mastadex in forum Windows Programming
    Replies: 5
    Last Post: 08-18-2008, 09:23 AM
  2. Plants that eat things
    By StinkyRyan in forum A Brief History of Cprogramming.com
    Replies: 5
    Last Post: 07-05-2004, 03:41 PM
  3. How are things looking
    By cyberCLoWn in forum C++ Programming
    Replies: 8
    Last Post: 01-15-2004, 02:53 PM
  4. Selecting things on the canvas
    By Barjor in forum Windows Programming
    Replies: 0
    Last Post: 08-30-2001, 02:10 PM
  5. Help with these three things...
    By face_master in forum C++ Programming
    Replies: 2
    Last Post: 08-26-2001, 07:05 AM