Print Name of each File in Working Directory

This is a discussion on Print Name of each File in Working Directory within the C++ Programming forums, part of the General Programming Boards category; Let's say I have a directory that has 100 miscellaneous files in it. How do I go about obtaining the ...

  1. #1
    Registered User
    Join Date
    Aug 2005
    Posts
    197

    Print Name of each File in Working Directory

    Let's say I have a directory that has 100 miscellaneous files in it. How do I go about obtaining the name of each file in my working directory?

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,848
    <aummmmm>
    read
    <aummmmm>
    the
    <aummmmm>
    FAQ
    <aummmmm>

    <sleazy fortune teller>
    $200 please!
    </sleazy fortune teller>
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. File being filled with NULLs
    By Tigers! in forum Windows Programming
    Replies: 2
    Last Post: 06-30-2009, 06:28 PM
  2. Formatting the contents of a text file
    By dagorsul in forum C++ Programming
    Replies: 2
    Last Post: 04-29-2008, 01:36 PM
  3. Basic text file encoder
    By Abda92 in forum C Programming
    Replies: 15
    Last Post: 05-22-2007, 02:19 PM
  4. Batch file programming
    By year2038bug in forum Tech Board
    Replies: 10
    Last Post: 09-05-2005, 04:30 PM

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