Tiny C Projects - Dan Gookin

Tiny C Projects

By Dan Gookin

  • Release Date: 2023-01-24
  • Genre: Programming

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.

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