Thread: Read in a Folder to a String Array

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Registered User
    Join Date
    Dec 2007
    Posts
    385

    Read in a Folder to a String Array

    I wonder how it could be possible using a windows form(C++) and open a folder on the harddrive somewhere and when open this folder, there will be ex: 5 .txt files inside this folder.
    When open this folder the names of these 5 .txt files will be red in into a string array.

    I know how to use the openFileDialog but wonder how this could be possible to do.
    I dont really know the approach to do something like this. What could be the first step.
    Last edited by Coding; 02-07-2008 at 07:18 PM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. malloc 1d string array
    By s_siouris in forum C Programming
    Replies: 3
    Last Post: 07-07-2008, 09:20 AM
  2. "sorting news" assignment
    By prljavibluzer in forum C Programming
    Replies: 7
    Last Post: 02-06-2008, 06:45 AM
  3. Inheritance Hierarchy for a Package class
    By twickre in forum C++ Programming
    Replies: 7
    Last Post: 12-08-2007, 04:13 PM
  4. Message class ** Need help befor 12am tonight**
    By TransformedBG in forum C++ Programming
    Replies: 1
    Last Post: 11-29-2006, 11:03 PM