Thread: Files

  1. #1
    lostProgrammer
    Guest

    Question Files

    ok i have no idea how to do this and i'm getting nightmares about this problem
    i want to create an array of strings (or char*'s) that are the names of the files+directories in the current working directory, i can get the current working directory with getcwd() but i've no idea how to get the file/directory names, any help would be great

  2. #2
    Code Goddess Prelude's Avatar
    Join Date
    Sep 2001
    Posts
    9,897
    operating system/compiler?

    -Prelude
    My best code is written with the delete key.

  3. #3
    lostProgrammer
    Guest
    sorry, Win98, Borland 5.5

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Ressources files
    By mikahell in forum Windows Programming
    Replies: 4
    Last Post: 06-19-2006, 06:50 AM
  2. add source files to embedded VC 4.0
    By George2 in forum C++ Programming
    Replies: 4
    Last Post: 06-13-2006, 03:28 AM
  3. *.cpp and *.h files understanding
    By ElastoManiac in forum C++ Programming
    Replies: 4
    Last Post: 06-11-2006, 04:45 AM
  4. Linking header files, Source files and main program(Accel. C++)
    By Daniel Primed in forum C++ Programming
    Replies: 3
    Last Post: 01-17-2006, 11:46 AM
  5. Multiple Cpp Files
    By w4ck0z in forum C++ Programming
    Replies: 5
    Last Post: 11-14-2005, 02:41 PM