Skip to the content of the web site.

Introduction to C

This will be an introduction to the C programming language. The best reference for this language is

Steve Oualline, Practical C Programming, O'Reilly & Associates, Inc.

Given that it has been twelve months since you have last used either the C or C++ programming language, this introduction will start from a reasonably early start.

Hello World!
Built-in Data Types
C Strings
Command-line Arguments: main( int argc, ... )
C Structures: struct
Type definitions: typedef
Macros definitions: #define
Formatted printing and scanning: printf, scanf, etc.
Using C++-like associations of structures with functions
Tutorial on structures in C using singly linked lists as an example
Understanding C type declarations (including int const *r versus int *const r)
Global, local and static global variables
NULL vs 0 vs nullptr