Coding C++ to play *.wma files
OK, I just want to know if I'm going the right direction with this.
I'm trying to write a routine which will give a list of songs and artists, tied to an ID number, so when an ID number is selected the song will play.
I know that you can play music directly from a command prompt ("C:\path to player\wmplayer.exe" "Path For the Song File\filename.wma") and am thinking that I could do this in C++ using a "while", "if" and "else if" format.
Has anyone played with something like this in the past? If so, what brick walls did you run into and how did you break through them?