>

C Project Style Guide

CS 1323 Honors, Fall 1996

Review this guide for each new project.
New requirements emerge as projects increase in complexity.

Project Document Requirements

Standards for C Programs

Standards for Session Transcripts

Most projects require you to turn in a transcript of a session in which compile and run your program. You generate such a session by issuing the command "script" to Unix before invoking the compiler, then pressing "control-D" after running your program.

These actions produce a file named "typescript" containing a transcript of the session. Such files may contain backspace characters, which make the print-out look ugly in spots. Before printing the typescript file, issue the command "hugs", load the script "removeBS.hs" and issue the command "main" to Hugs. This command will write file named "typescript.cln" in which the backspaces have be interpreted properly. This file contains no unsightly backspaces. Print it instead of the raw transcript file.

Last Modified: