Thinking in C and *nix (CSC 282 2015S) : Outlines

Outline 04: A C Program Ecosystem


Held: Thursday, 12 February 2015

Back to Outline 03 - The Bash Shell - A Refresher. On to Outline 05 - Cron.

Summary

We consider the steps in compilation, focusing primarily on the preprocessor.

Related Pages

Overview

Administrivia

A C Project "Ecosystem"

If we're going to talk about C, we should think about the structure of a typical project. What do we expect to have? We'll look at Sam's traditional model ofo the project

Steps in Compilation

Including Files

Playing with Macros

CPP Conditionals

Detour: Standard Header File Format

The Preprocessor and the Command Line

Some Great Preprocessor Hacks