This note explains the
following topics: Spacing and indentation, Input and output, Branching and
looping, Arrays, Variable Types, Operators, Functions, Structures, Libraries,
Makefiles, Pointers, Dynamic Data Structures, Advanced Pointers, Strings,
Operator Precedence, Command Line Arguments, Text files, Binary Files.
C probably has been the most influential programming language
during the last 25 years. It was originally introduced for the implementation of
UNIX, but is now used for a large variety of very different tasks. This note
will introduce the C programming language in the context of the UNIX operating
system. It will also cover UNIX from a user and a programmer perspective.
This is a
reference manual for the C programming language as implemented by the GNU
Compiler Collection (GCC). Topics covered includes: Lexical Elements, Data
Types, Expressions and Operators, Functions, Program Structure and Scope.
This
course note provides a thorough introduction to the C programming language, the
workhorse of the UNIX operating system and lingua franca of embedded processors
and micro-controllers.