Click here to Skip to main content
15,891,423 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
See more:
Hi,
How can i Make a function directory count that finds how many directories and sub directories are in a folder, and Make a directory Size recursive function that finds the size of each folder and sub folders.
The following can be an example of the result from your program.

CSS
Example result
Dir:c:\test\f1
File:t0.txt size 20 bytes
Folder: f1 size 20 bytes
Posted
Updated 5-Apr-15 19:36pm
v2

 
Share this answer
 
We do not do your homework: it is set for a reason. It is there so that you think about what you have been told, and try to understand it. It is also there so that your tutor can identify areas where you are weak, and focus more attention on remedial action.

Try it yourself, you may find it is not as difficult as you think!

If you meet a specific problem, then please ask about that and we will do our best to help. But we aren't going to do it all for you!
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900