Question:

Help on a C++ program?

by  |  earlier

0 LIKES UnLike

I am trying to write a program which can help me sort my mp3 files from one folder to another.

My first question is, how would I look for all the mp3 files in one directory?

Second, how do I get the artist name from the mp3's properties

For example look at this image http://img237.imageshack.us/my.php?image=propertiesmr2.jpg

I want to get the "Oasis" from the artist properties

Lastly, how do I create a folder in a specific directory?

 Tags:

   Report

3 ANSWERS


  1. Sorting the files and parsing the binary data and reading the mp3 are two very different levels of difficulty. Are you doing this because it's something you want to do or because you don't know of a program that can do that already for you?

    Picard: http://musicbrainz.org/doc/PicardTagger which will allow you to sort all of your mp3s however you would like...artist/album/genre, etc..

    If you are wanting to do this yourself, you'll need to learn about simple file manipulations, etc. Also, you'll probably need http://www.wotsit.org/list.asp?search=mp... which will allow you to manipulate mp3 files.


  2. If on windows I believe if you make a console app, use system("COPY file1 file2");  (something like that)  system allows you to use batch file commands

  3. 1) Why would you want to do this. Just click on the column if you are viewing the MP3 players in Windows Explorer (or the equivalent on a *nix box)

    2) Right mouse-click on the file and select "Properties"

    3) Right mouse-click on the folder that you want to add a folder inside of. Choose the "New" menu, and then "Folder". Then type the name you want the folder to be called.
You're reading: Help on a C++ program?

Question Stats

Latest activity: earlier.
This question has 3 answers.

BECOME A GUIDE

Share your knowledge and help people by answering questions.