Programming Languages (CS302 2007S)

Class 11: Macros and More

Back to Notes on HW3. On to More C Stuff, Including a Bit on Make.

This outline is also available in PDF.

Held: Wednesday, February 14, 2007

Summary: We start our exploration of a variety of issues with the C programming language, including the writing of tests for a common algorithm and the design and use of macros in C.

Related Pages:

Overview:

Background: Refactoring

A Context for Our Discussions

Generalizing the Comparison Routine

Macros: Basic Concepts

Enumerated Types

Macros: Some Clever Hacks

Back to Notes on HW3. On to More C Stuff, Including a Bit on Make.

Disclaimer: I usually create these pages on the fly, which means that I rarely proofread them and they may contain bad grammar and incorrect details. It also means that I tend to update them regularly (see the history for more details). Feel free to contact me with any suggestions for changes.

This document was generated by Siteweaver on Sun Apr 29 11:26:04 2007.
The source to the document was last modified on Sun Mar 4 13:30:00 2007.
This document may be found at http://www.cs.grinnell.edu/~rebelsky/Courses/CS302/2007S/Outlines/outline.11.html.

You may wish to validate this document's HTML ; Valid CSS! ; Check with Bobby

Samuel A. Rebelsky, rebelsky@grinnell.edu