Skip to Main Content
Tiny C Projects
book

Tiny C Projects

by Dan Gookin
December 2022
Beginner content levelBeginner
384 pages
10h 44m
English
Manning Publications
Content preview from Tiny C Projects

10 Directory tree

Of all the programming tasks, I’m embarrassed to admit that I enjoy coding file utilities the most. The casual user is unaware of the mountain of information about files provided by the operating system. It’s highly detailed low-hanging fruit, eager for plucking. Plus, exploring files and directories opens your understanding of how computer storage works. Exploring this field may inspire you to write your own interesting file utilities. If it doesn’t, you can keep reading this chapter—your introduction to filesystems and storage.

The goal here is to create a directory tree program. The output shows subdirectories as they sit in the hierarchical filesystem. In addition to being exposed to the word hierarchical (which I can amazingly ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Five Lines of Code

Five Lines of Code

Christian Clausen
Modern C

Modern C

Jens Gustedt
Effective C

Effective C

Robert C. Seacord
Extreme C

Extreme C

Kamran Amini

Publisher Resources

ISBN: 9781633439825Supplemental ContentPublisher SupportOtherPublisher WebsiteSupplemental ContentPurchase Link