Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Music Player----help
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh pageAdd this topic to your bookmarks (CTRL-D) View next topic
Author Message
milz




PostPosted: Thu May 05, 2005 9:36 am   Post subject: Music Player----help

hey!! well im stuck at something and just need a little help so yeah... Ok so i am trying to make a MUSIC PLAYER in turing.. it works fine but i dont know how to uplode file from the E:\\ drive of the computer.. or C:\\
i want to make it like so that everyone that uses the music player program could have a choice to choose a song from their own comptuer so yeah.. if you think you could help me please contact me at
mil_n-ice@hotmail.com
 
Sponsor
Sponsor
Sponsor
sponsor
Delos




PostPosted: Fri May 06, 2005 9:42 am   Post subject: (No subject)

For this you'll need to use Dir. commands to locate files, simple index()ing of file names, and of course the Music. commands to play the file.
First you'll have to set up a directory system where the User can select a directory, then using the Dir. commands open that directory and extract the names of all files.
Index() them on a ".mp3", ".wav", etc pattern to locate only music files.
Display a list of files, and allow the User to select which one to play. Use the Music. commands for this.

See, simple.
 
milz




PostPosted: Fri May 06, 2005 11:49 am   Post subject: (No subject)

Yo what do u mean by taht could u like put it in codes please so i can C what uu mean
 
Paul




PostPosted: Fri May 06, 2005 2:09 pm   Post subject: (No subject)

check out the dir commands in your turing reference, I'm pretty sure you'll learn fast enough from there, its not very difficult. And it has the code that you want.
 
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh pageAdd this topic to your bookmarks (CTRL-D) View next topic

Page 1 of 1  [ 4 Posts ]
Jump to:   


Style:  
Search: