Finding the size of a directory

This is a discussion on Finding the size of a directory within the C++ Programming forums, part of the General Programming Boards category; Does anyone know of a function that will calculate the size of a directory(including it's sub directories)?? I know I ...

  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
    Registered User InFeStEd-ArCh0n's Avatar
    Join Date
    Apr 2002
    Posts
    63
    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, 05: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, 03: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, 08:45 PM
  5. Finding the size of the borders.
    By jpfarias in forum Windows Programming
    Replies: 1
    Last Post: 09-05-2006, 09:50 PM

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