Number of files in a folder

This is a discussion on Number of files in a folder within the C Programming forums, part of the General Programming Boards category; Hello I need a Api or someway to find out how many files have on a folder, and if possible ...

  1. #1
    Registered User
    Join Date
    May 2008
    Posts
    39

    Number of files in a folder

    Hello


    I need a Api or someway to find out how many files have on a folder, and if possible get their names.


    Thanks

  2. #2
    Registered User C_ntua's Avatar
    Join Date
    Jun 2008
    Posts
    1,853
    Read the FAQ or google to learn how to use directories in C. Like: http://faq.cprogramming.com/cgi-bin/...&id=1044780608
    Just include <dir.h>, <stdio.h>

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 0
    Last Post: 11-09-2008, 02:34 AM
  2. adding a number to a number
    By bigmac(rexdale) in forum C Programming
    Replies: 11
    Last Post: 10-24-2007, 01:56 PM
  3. Batch file programming
    By year2038bug in forum Tech Board
    Replies: 10
    Last Post: 09-05-2005, 04:30 PM
  4. Code to display files and sizes of any folder
    By CrackDown in forum Linux Programming
    Replies: 0
    Last Post: 04-22-2003, 12:23 PM
  5. writing files to a specified folder
    By jverkoey in forum Windows Programming
    Replies: 5
    Last Post: 03-29-2003, 11:09 PM

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