A Little C Primer/Comments and Revision History

I wrote this document, not because I am an expert on this subject, but because I'm not. I don't use C often, and the combination of infrequent use and relatively obscure syntax makes them frustrating to deal with. So I threw these notes together to make sure that what I did know was in an accessible form.

This document originally contained two chapters on C++, but they were sketchy and I had little interest in the language. C++ is really not so much an enhancement of C as it is a different language based on C. For the very small software projects I tend to work on, its additional features are much more bother than they're worth. Since I couldn't maintain that material, I deleted it.

Revision history: v1.0  / 01 jan 95 / gvg v2.0  / 01 may 95 / gvg / Added chapters on C++, reformatted. v2.1  / 30 may 95 / gvg / Minor corrections and changes. v2.2  / 01 jul 95 / gvg / Added quick reference and minor changes. v2.3  / 09 jul 95 / gvg / Corrected bug in "strlen" description. v2.4  / 25 aug 95 / gvg / Added command-line parser example. v2.5  / 13 oct 95 / gvg / Web update. v2.5  / 01 feb 99 / gvg / Minor cosmetic update. v2.0.7 / 01 feb 02 / gvg / Minor cosmetic update. v3.0.0 / 01 aug 03 / gvg / Eliminated C++ material. v3.0.1 / 01 aug 05 / gvg / Minor proofing &amp; cleanup. v3.0.2 / 01 jul 07 / gvg / Minor cosmetic update.