6 views
Write a program that starts at a given directory and descends the file tree from that point recording the sizes of all the files it finds. When it is all done, it should print a histogram of the file sizes using a bin width specified as a parameter (e.g., with $1024,$ file sizes of $0$ to $1023$ go in one bin, $1024$ to $2047$ go in the next bin, etc.).
| 6 views