The Unofficial C For Dummies Website

Recent Lessons

Reversing a String
September 24, 2022 I'm shocked! I've not shared this function before.
Vertical Table Output
September 17, 2022 It's amazing what tricks you can pull with stream output when you're willing to put effort into your code.
Generating a Table from Stream Output
September 10, 2022 It's much neater to output a long array of values in a table than as a tall list.
Integer Size Values - Again
September 3, 2022 An update to my earlier post on how many bits are in various integer data types.
Help Me Figure Out This Trick
August 27, 2022 My goal is to understand this weird trick for discovering the maximum power of two that divides an integer.

This Month's Exercise

Cyclops Numbers
September 1, 2022 These scary numbers have a big zero in the middle!

Showcase Title

I'm pleased to announce the early preview of my next programming title, Tiny C Projects from Manning Publishing.

Tiny C Projects cover MEAP

MEAP is the Manning Early Access Program, which allows you to review already-submitted content before the book is published. Four of 21 planned Chapters are available online; I'm submitting new chapters as I write them. So please check it out. Here is the link:

Proceeds from sale of this book (compensated link) go toward supporting this website. Thank you!

Current Titles

C Programming For Dummies   Programmer's Guide to NCurses   Programmer's Guide to XML and JSON   Programmer's Guide to Curl

Online Training

Bonus! Sign up for a free 30-day trial at LinkedIn Learning