C CheatSheet
Andrew Sterian
This document is an introduction to the C programming language. Unlike a thorough reference
manual this document is limited in scope. The main goal is to provide a roadmap that can answer
basic questions about the language, such as what data types are supported or what a for loop
looks like. The beginning C programmer can use this document to get started with the language
and write small-to-medium-size programs involving simple I/O, file manipulation, and arithmetic
computations.
This document relies heavily on examples to teach C. Examples allow the reader to quickly grasp
the concept being presented but do not allow for a thorough explanation. This is consistent with
the philosophy that this document is an entry point to the language, not a reference text.
manual this document is limited in scope. The main goal is to provide a roadmap that can answer
basic questions about the language, such as what data types are supported or what a for loop
looks like. The beginning C programmer can use this document to get started with the language
and write small-to-medium-size programs involving simple I/O, file manipulation, and arithmetic
computations.
This document relies heavily on examples to teach C. Examples allow the reader to quickly grasp
the concept being presented but do not allow for a thorough explanation. This is consistent with
the philosophy that this document is an entry point to the language, not a reference text.