Compiling C Programs

How to Compile a C Program using GCC
A Free Book on GCC

Debugging C Programs using GDB

Class Lecture Notes on GDB v1 (source code: factorial.c)
GDB, The GNU Project Debugger Page
GDB Complete Reference
Lecture at CppCon: Give me 15 minutes & I'll change your view of GDB
GDB Cheatsheet 1
GDB Cheatsheet 2

C Code Style

A small portion of your projects grade (5%) is reserved for good coding style and adequate comments. Three popular coding styles for C are:

GNU Software Style
NASA C Coding Style
Indian Hill C Style

vi Editor

vi Reference Card
vi Fairly Complete Reference Guide

Linux Basics

You will need to know basics of using the Terminal for Linux. These are a few references:

Unix/Linux Command Reference
Unix Tutorial for Beginners
The Linux Command Line is a free book

Binary Numerical System

The prerequisite topics related to binary numerical systems you need to know in CS221:

- Binary representation of a decimal number
- Converting to and from binary, decimal, and hexadecimal numerical systems
- Addition and subtraction in binary numerical system

Binary, Decimal, and Hexadecimal
Binary Addition and Subtraction
Cisco's binary game (for practice)