\documentstyle[12pt]{report}

\pagestyle{myheadings}
\def\headlineaux{\sc Math 322: C Programming and Unix
\hrulefill
}
\markboth{\headlineaux}{\headlineaux}

\setlength{\textwidth}{6.25in}
\setlength{\oddsidemargin}{0in}
\setlength{\evensidemargin}{0in}

\begin{document}

\begin{titlepage}
Blank Page
\end{titlepage}

\section*{Course Review Sheet}
\begin{itemize}
\item {\bf C Language:}
  \begin{enumerate}
  \item The overall structure of a program block,
     \begin{itemize}
     \item[] \verb,#include<stdio.h>,
     \item[] {\em functions}
     \item[] \verb.main( int argc, char * argv[]). 
     \item[] \verb.{ .{\em declarations}
     \item[] {\em statements } \verb.}.
     \end{itemize}
  \item The basic declarations and types,
     \begin{itemize}
     \item[] \verb.int i, j ;.
     \item[] \verb.double x, y ;.
     \item[] \verb.char c, d, * s, * t ;.
     \end{itemize}
  \item Statements and compound statements,
     \begin{itemize}
     \item[] {\em expression}\verb.;.
     \item[] \verb.{. {\em statement} \verb.;. $\ldots$ \verb.;.
       {\em statement} \verb.}.
     \end{itemize}
  \item Control structures:
     \begin{itemize}
     \item[] \verb.if ( ) { }.
     \item[] \verb.if ( ) { } else { }.
     \item[] \verb.while ( ) { }.
     \item[] \verb.for ( ; ; ) { }.
     \end{itemize}
  \item Operators:
     \begin{itemize}
     \item[] Logical: \verb.==, !=, >, >=, <, <=, &&, ||, !..
     \item[] Arithmetic: \verb.+, -, *, /, %..
     \item[] Assignment: \verb.=, +=, -=, *=, /=, %=..
     \end{itemize}
  \item Functions and \verb.return. statements:
      \begin{itemize}
      \item[] {\em type function-name} \verb.(. {\em parameters,
      $\ldots$, parameters} \verb.).
      \item[] \verb.{. {\em declarations}
      \item[] {\em statements} \verb.}.
      \end{itemize}
~\\
  \item Arrays and passing arrays to subroutines:
     \begin{itemize}
     \item[] \verb.int fill_it( char X[], int i ) {.
     \item[] \verb.   int j ;.
     \item[] \verb.   for ( j=0 ; j<i ; j++ ) X[j] = '\0' ;.
     \item[] \verb.   return i ; }.
     \item[] \verb.\* Main Procedure *\.
     \item[] \verb.main(int argc, char * argv[]) {.
     \item[] \verb.   char a[10] ;.
     \item[] \verb.   fill_it( a, 10 ) ; }.
     \end{itemize}
  \item {\em We have not yet done structures or unions.}
  \end{enumerate}

\item {\bf Unix:}
  \begin{enumerate}
  \item Directory commands: \verb.ls, cd, mkdir. and \verb.rmdir..
  \item File commands: \verb.cp, rm. and \verb.mv..
  \item Compiling and running a program: \verb:cc, a.out.:
  \item The \verb.vi. editor.
  \item Input and output redirection, \verb.>, <.. E-Mail.
  \end{enumerate}

\item {\bf Reading:}\\
You are now reading Chapters 1 through 4 in {\em A Book on C,} 
and Chapters 1 and 2 in {\em Unix for Programmers and Users.}

\end{itemize}

\end{document}
