Book description
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 to:
- 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.
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 solver: Use an I/O filter to generate customized output
- Duplicate file finder: Use recursion to explore a directory tree
- Daily greetings: Writing the moon phase algorithm
- Lotto pics: 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.
Quotes
A ‘learning by playing’ approach to C! For me, it was a joyful return to the roots.
- Maciej Jurkowski, Grupa Pracuj
Dan blends the serious and amusing parts of C into a comfortable, gradual ladder of knowledge. No one else can write a book like this.
- Joe Tingsanchali, Sonar
I highly recommend to all of my colleagues who need to speed up slow Python code.
- Marco Carnini, Features Analytics
Excellent for anyone who wants to learn or relearn C. Highly recommended.
- Nathan McKinley-Pace, George Mason University
If you’ve never worked with C, or it’s been a long time since you have, this is an excellent book.
- Chris Kolosiwsky, Globality
Table of contents
- Tiny C Projects
- Copyright
- contents
- front matter
- 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
- index
Product information
- Title: Tiny C Projects
- Author(s):
- Release date: December 2022
- Publisher(s): Manning Publications
- ISBN: 9781633439825
You might also like
book
Modern C
Modern C focuses on the new and unique features of modern C programming. The book is …
book
Writing a C Compiler
Compilers are at the heart of everything programmers do, yet even experienced developers find them intimidating. …
book
Effective C
The world runs on code written in the C programming language, yet most schools begin the …
book
Programming in C, Fourth Edition
will teach you how to write programs in the C programming language. Whether you’re a novice …