Jump to ratings and reviews
Rate this book

Tiny C Projects

Rate this book
Learn the big skills of C programming by creating bite-size projects! Work your way through these 15 fun and interesting tiny challenges to master essential C techniques you’ll use in full-size applications.

In Tiny C Projects you will learn how

Create libraries of functions for handy use and re-use
Process input through an I/O filter to generate customized output
Use recursion to explore a directory tree and find duplicate files
Develop AI for playing simple games
Explore programming capabilities beyond the standard C library functions
Evaluate and grow the potential of your programs
Improve code to better serve users

Tiny C Projects is an engaging collection of 15 small programming challenges! This fun read develops your C abilities with lighthearted games like tic-tac-toe, utilities like a useful calendar, and thought-provoking exercises like encoding and cyphers. Jokes and lighthearted humor make even complex ideas fun to learn. Each project is small enough to complete in a weekend, and encourages you to evolve your code, add new functions, and explore the full capabilities of C.

Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.

About the technology
The best way to gain programming skills is through hands-on projects—this book offers 15 of them. C is required knowledge for systems engineers, game developers, and roboticists, and you can start writing your own C programs today. Carefully selected projects cover all the core coding skills, including storing and modifying text, reading and writing files, searching your computer’s directory system, and much more.

About the book
Tiny C Projects teaches C gradually, from project to project. Covering a variety of interesting cases, from timesaving tools, simple games, directory utilities, and more, each program you write starts out simple and gets more interesting as you add features. Watch your tiny projects grow into real applications and improve your C skills, step by step.

What's inside

Caesar cipher Use an I/O filter to generate customized output
Duplicate file Use recursion to explore a directory tree
Daily Writing the moon phase algorithm
Lotto Working with random numbers

And 11 more fun projects!

About the reader
For C programmers of all skill levels.

About the author
Dan Gookin has over 30 years of experience writing about complex topics. His most famous work is DOS For Dummies, which established the entire For Dummies brand.

Table of Contents
1 Configuration and setup
2 Daily greetings
3 NATO output
4 Caesarean cipher
5 Encoding and decoding
6 Password generators
7 String utilities
8 Unicode and wide characters
9 Hex dumper
10 Directory tree
11 File finder
12 Holiday detector
13 Calendar
14 Lotto picks
15 Tic-tac-toe

384 pages, Paperback

Published December 27, 2022

6 people are currently reading
28 people want to read

About the author

Dan Gookin

262 books12 followers

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
9 (56%)
4 stars
5 (31%)
3 stars
1 (6%)
2 stars
0 (0%)
1 star
1 (6%)
Displaying 1 - 10 of 10 reviews
10 reviews1 follower
January 14, 2023
"Tiny C Projects" is a brilliant source if you're seeking to grasp or refine your competence in the realm of C programming. It's systematically arranged, rendering it convenient to use for both novices and advanced coders likewise. The book is user-friendly and easy to comprehend, making it a great selection for any level.

One of the highlights of the book is its structure - providing small, achievable tasks that gradually build on each other. Each project introduces new ideas and techniques without overwhelming readers, so that you can learn at your own pace and prioritize the content which aligns with your needs.

This book offers an extensive range of programming topics, ranging from basic to much more complex ones. Every project is accompanied with complete explanation and codes which makes it easier to understand the rationale behind the code & its functioning. The author also put in a good effort to explain why certain code works in a particular way.

I highly enjoyed the author's clear writing style and the humorous vibes he brought to his work, making it a real joy to read. It was also extremely captivating which kept my attention easily.
1 review
May 27, 2023
This book is an interesting approach to development and learning. I honestly felt it reminded me at times of the book: “The C Programming Language” which in my view is a must read for any programmer, if there can be must reads in this field. The main difference here is that the book has a lot more humor which is good and bad. Sometimes the jokes hit, and you appreciate the author's clever comment, and sometimes the jokes feel like a walk and like a little much. But regardless of the balance, the jokes make this a very easy read. Each section comes with a little humor, a little knowledge, and a little code.

So where do I think this fits in on a developers learning path? Well I think this book is good for people starting off in C and looking to understand what they can do with the language. But I think this is also a good book for anyone just looking to learn more about how things work. This may not teach you to write the most robust hashing or encryption function, but you can get your feet wet and develop an understanding you maybe never really had. Something that I think is useful for any serious developer. All in all I think it does its job. It should not be a C Developers first book, but I don’t think it a bad choice for a second and third, and for that I am happy to give it a high rating.
4 reviews
February 7, 2023
I read this book because I started as a C developer but my career path led me to other languages.
Reading this book has allowed me to regain confidence in some concepts that I was losing and, above all, to learn new ones. The projects presented are quite simple but allow you to address all the basic topics of the language. IMO, this book is not intended to learn advanced programming techniques but as text to consult periodically to refresh the fundamental concepts of the language such as, for example, the dynamic memory management and strings. Personally I don't think it's the right book to learn to program in C but I am convinced that it is a must-to-have for those who, once they have learned the basic sintax and want to go deeper on the topics proposed and/or want to have an easy-to-consult text on hand with examples that are quick to reuse.
Highly recommended.
1 review
January 6, 2023
This is an excellent book for study C programming language if describe book by one sentence.

Book take reader's hand and leading from prepare environment for coding to start create real applications.
After first setup you will learn language expression by creating small application and learn programming principles how it work under the hood. Author use interesting real world examples for show how it solve by C language.
For example, in one of chapter author describe how works simple Caesar crypto-encryption and create application for encrypt message.

Book's narrative contain some gamification that allow use acquired knowledge in new way in everyday life.
Profile Image for Vitoshacademy.
5 reviews2 followers
January 9, 2023
In general, C is not one of the languages that I am fluent at, and that is why I have chose to read that book. What I liked in it was that the examples there were quite easy to grasp and the chapters of the book were based around them.
The chapters "Nato Output", "Caesarean Cipher", "Password Generators" are based on simple programs, which you will know from the beginning how the end should look like, if you have some experience in programming. And that's what I liked - the projects are indeed tiny, well explained and in C.
2 reviews1 follower
January 23, 2023
This is a great piece of content to get yourself understanding some practical applications of the C programming language. Many resources refer to C as an embedded language only to be used for hardware applications but this book does a really fine job showing things from a user application point of view. C is far from dead and you will find some really interesting example projects in the book to spark a little more interest in the language.
Profile Image for Felix Ghosh.
2 reviews
February 23, 2024
A great read! The majority of the projects in the book were entertaining to code and all of them were either useful or at least quite novel. The book is full of humor (which is a bit hit or miss) and I think the author did a great job of not only explaining the code and the steps required to craft the programs, but also conveyed how much fun writing these types of small programs can be. Definitely a recommended read!
Profile Image for Joseph Tingsanchali.
1 review
February 6, 2023
Dan Gookin does a great job incorporating years of experience by explaining typical pitfalls and does so in an entertaining and academic manner at the same time.
Displaying 1 - 10 of 10 reviews

Can't find what you're looking for?

Get help and learn more about the design.