The Unofficial C For Dummies Website

Recent Lessons

Converting Month Strings to Integers
August 13, 2022 When given a string such as "August," how can you easily convert it into a value, such as 8?
Going Mad for Mod
August 6, 2022 I've been using the % operator for years, but I still need to remind myself of the proper order.
Forcing a Decision
July 30, 2022 My solution to a common programming query.
Returning a Non-Static String
July 23, 2022 To return a string from a function as a char array, it must be static — not so for a pointer.
Having Fun with the getline() Function
July 16, 2022 To enjoy the getline() function you must understand its internal workings.

This Month's Exercise

From 'A' and 'a' to 'Z' and 'z'
August 1, 2022 This exercise may be too easy for some, but only when you don't explore the many possible solutions.

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