Newbie: iterating through folder contents

Discussion in 'C Programming' started by Richard Coutts, Aug 30, 2003.

  1. Windows/VC++ 6.0

    I need to get a list of all of the files in a given folder. I know
    how to read and modify files if I have the name of the file, but if I
    don't have the names, how do I get them?

    Thanks!
    Rich
     
    Richard Coutts, Aug 30, 2003
    #1
    1. Advertising

  2. Richard Coutts wrote:

    > Windows/VC++ 6.0
    >
    > I need to get a list of all of the files in a given folder. I know
    > how to read and modify files if I have the name of the file, but if I
    > don't have the names, how do I get them?


    [Apologies for my last response, in which I mistakenly said that you hadn't
    mentioned your platform.]

    Same deal as before: ask in comp.os.ms-windows.programmer.win32

    --
    Richard Heathfield :
    "Usenet is a strange place." - Dennis M Ritchie, 29 July 1999.
    C FAQ: http://www.eskimo.com/~scs/C-faq/top.html
    K&R answers, C books, etc: http://users.powernet.co.uk/eton
     
    Richard Heathfield, Aug 30, 2003
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Ron
    Replies:
    0
    Views:
    466
  2. Richard Coutts
    Replies:
    1
    Views:
    351
    Kevin Goodsell
    Aug 30, 2003
  3. Replies:
    4
    Views:
    476
    Steven Bethard
    Feb 17, 2005
  4. carl
    Replies:
    5
    Views:
    2,502
    James Kanze
    Nov 25, 2009
  5. Wood Yee
    Replies:
    4
    Views:
    105
    Marc Heiler
    Dec 22, 2009
Loading...

Share This Page