Thread: how to get names of files in folder

  1. #1
    Registered User
    Join Date
    Feb 2005
    Posts
    2

    how to get names of files in folder

    Anyone knows an algorithm or a functon that would read content of specified foldel..I just need to get the names of files in folder

    Thanks in advance

  2. #2
    carry on JaWiB's Avatar
    Join Date
    Feb 2003
    Location
    Seattle, WA
    Posts
    1,972
    If you are running windows, check out msdn

    Using FindFirstFile and FindNextFile with wildcards would probably work.
    "Think not but that I know these things; or think
    I know them not: not therefore am I short
    Of knowing what I ought."
    -John Milton, Paradise Regained (1671)

    "Work hard and it might happen."
    -XSquared

  3. #3
    Registered User
    Join Date
    Feb 2005
    Posts
    2
    Thanks for help JaWiB , but I'm running Linux.

  4. #4

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Accessing .dat files within a folder
    By porsche911nfs in forum C++ Programming
    Replies: 4
    Last Post: 04-02-2009, 10:26 PM
  2. added start menu crashes game
    By avgprogamerjoe in forum Game Programming
    Replies: 6
    Last Post: 08-29-2007, 01:30 PM
  3. Finding files in a folder
    By ryeguy in forum C++ Programming
    Replies: 2
    Last Post: 10-07-2005, 01:00 AM
  4. Opening files with korean file names
    By tek in forum C++ Programming
    Replies: 4
    Last Post: 08-28-2003, 10:22 PM
  5. Names of Text Files
    By tim545666 in forum C++ Programming
    Replies: 5
    Last Post: 02-10-2002, 11:59 AM