Thread: c++ equivelant to dir?

  1. #1
    PC Fixer-Upper Waldo2k2's Avatar
    Join Date
    May 2002
    Posts
    2,001

    c++ equivelant to dir?

    Basically, within my program i need to open and read from a number of files within a directory, except I don't know what files are in the directory, are there functions i can use to run through a directory opening these files? thanks.
    PHP and XML
    Let's talk about SAX

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,659

  3. #3
    PC Fixer-Upper Waldo2k2's Avatar
    Join Date
    May 2002
    Posts
    2,001
    thanks salem...you've been helping out a lot lately..thanks...i must sound like a major newbie....i started learning c++ about a month and a half ago, made two major programs right off the bat....took longer to debug than write, but i suppose that's how it's always going to go for me. i can never get something right off the bat...
    PHP and XML
    Let's talk about SAX

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Error opening files in a different dir
    By Ozzie in forum C++ Programming
    Replies: 3
    Last Post: 10-09-2008, 06:55 AM
  2. Replies: 12
    Last Post: 04-25-2007, 02:48 PM
  3. dir output problems
    By willc0de4food in forum C Programming
    Replies: 3
    Last Post: 04-18-2006, 05:47 AM
  4. Binary Search Trees Part III
    By Prelude in forum A Brief History of Cprogramming.com
    Replies: 16
    Last Post: 10-02-2004, 03:00 PM
  5. Request for comments
    By Prelude in forum A Brief History of Cprogramming.com
    Replies: 15
    Last Post: 01-02-2004, 10:33 AM