Go Back  DVD Talk Forum > General Discussions > Tech Talk
Reload this Page >

Need more C++ help

Tech Talk Discuss PC Hardware, Software, Internet and Other Technology

Need more C++ help

Old 01-09-01, 04:18 PM
  #1  
Mod Emeritus
Thread Starter
 
Join Date: Feb 1999
Location: Central Vermont
Posts: 3,883
Likes: 0
Received 0 Likes on 0 Posts
I want to create a database of my MP3s. What I want to be able to do (that I need help on) is to give the program a directory and have it go through and find all MP3 files in the directory and in all subdirectories beneath that. I would like to use functions/clases that are not machine specific because I want to be able to compile this under both Linux and Windows.

I know how to deal with files in C++, just not how to get a list of them. Whatever functions I use will probably also have to get atributes of the files in a directory so that I know if an item is a file or a directory.

------------------
DVD-ROM & Computer Forum Moderator - [email protected]
DVD-ROM FAQ - Jason's Digital Domain - AIM: northrupjason
Old 01-09-01, 11:00 PM
  #2  
Member
 
Join Date: Jun 2000
Location: Anaheim
Posts: 236
Likes: 0
Received 0 Likes on 0 Posts
I don't know how you would write it so the code is platform independent, but for win32, see this page: http://msdn.microsoft.com/library/ps...lesio_1esv.htm

Check out this forum also(try to post your question):
http://codeguru.earthweb.com/bbs/wt/...=list&Board=vc

[This message has been edited by mikerena (edited January 09, 2001).]

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Thread Tools
Search this Thread

Archive - Advertising - Cookie Policy - Privacy Statement - Terms of Service - Do Not Sell My Personal Information

Copyright 2018 MH Sub I, LLC dba Internet Brands. All rights reserved. Use of this site indicates your consent to the Terms of Use.