C Programming Style Guide

Getting the computer to understand your program is no guarantee that people will be able to follow it. Just as you would edit an English composition, you should spend time revising a computer program to make it elegant and readable. The following guidelines will help you write programs that are easy to read and modify. The grader may expect your assignments to conform to these style and documentation conventions.

This style guide was adapted by Jenny Walter and Jennifer Welch from one prepared by Prof. Ken Goldman at Washington University at St. Louis.