c++ equivelant to dir?

This is a discussion on c++ equivelant to dir? within the C++ Programming forums, part of the General Programming Boards category; Basically, within my program i need to open and read from a number of files within a directory, except I ...

  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
    32,855

  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, 07:55 AM
  2. Replies: 12
    Last Post: 04-25-2007, 03:48 PM
  3. dir output problems
    By willc0de4food in forum C Programming
    Replies: 3
    Last Post: 04-18-2006, 06: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, 04: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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21