Thread: Finding the size of a directory

  1. #1
    Registered User
    Join Date
    Mar 2002
    Posts
    18

    Finding the size of a directory

    Does anyone know of a function that will calculate the size of a directory(including it's sub directories)??
    I know I can do it by using recursion, but I don't have the time to write a recursion algorithm.
    Any help would be great,
    Thanks,
    Donal

  2. #2
    Used Registerer jdinger's Avatar
    Join Date
    Feb 2002
    Posts
    1,065
    Someone just posted this question last night.

  3. #3
    Whoops, posted on the wrong one... sorry
    -Mike
    {InFeStEd-ArCh0n}

  4. #4
    Registered User
    Join Date
    Mar 2002
    Posts
    18
    Ok, But that post was made in the Windows programming section (not everyone visits all sections) and it is not quite what I am looking for.
    Anyone any ideas??
    Thanks

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. char Handling, probably typical newbie stuff
    By Neolyth in forum C Programming
    Replies: 16
    Last Post: 06-21-2009, 04:05 AM
  2. Is there a way to get a linux directory size in c++?
    By meili100 in forum Linux Programming
    Replies: 5
    Last Post: 04-19-2008, 02:01 AM
  3. Couple errors please help :-D
    By JJJIrish05 in forum C Programming
    Replies: 9
    Last Post: 03-06-2008, 02:54 AM
  4. Error with a vector
    By Tropicalia in forum C++ Programming
    Replies: 20
    Last Post: 09-28-2006, 07:45 PM
  5. Finding the size of the borders.
    By jpfarias in forum Windows Programming
    Replies: 1
    Last Post: 09-05-2006, 08:50 PM