\documentclass[11pt]{article}
\usepackage{graphicx}
\usepackage[left=1in,right=1in,top=0.75in,bottom=0.5in]{geometry}
\usepackage{url}
\usepackage{amsmath}
\usepackage{upquote}
\pagestyle{myheadings}
\markright{MAT 4370: Programming Assignment 4}

\long\def\symbolfootnote[#1]#2{\begingroup%
\def\thefootnote{\fnsymbol{footnote}}\footnote[#1]{#2}\endgroup} 

\begin{document}
\thispagestyle{empty}
\begin{center}
  {\Large MAT 4370: Programming Assignment 4}\\
  Due: Friday, February 1
\end{center}

\section*{Problems}
All exercises for this assignment are from the King textbook.
Continue to use the naming convention from the previous
assignment: problem $n$ from chapter $k$ should be saved in the file
named \verb!ex!$k$\verb!-!$n$\verb!.c!. For these problems, you do not
need to write your own functions: place all of the necessary logic
within \verb!main()!.
\begin{itemize}
\item Page~179, \#6.  This problem is a bit silly, yet it provides
  useful practice with \verb!char! arrays.  Assume no line is longer
  than 80 characters in length. Functions especially useful for this
  exercise include \verb!getchar()!, \verb!putchar()!, and one or more
  character handling functions from the \verb!ctype.h! header file.
  Refer to section 23.5 and/or the Unix manual page.  (From a terminal
  window, give the
  command: \verb!man ctype!).

\item Pages~179--180, \#9. This exercise, involving random walks in a
  grid, will give you practice with 2-dimensional arrays. Random walks
  have a rich mathematical history---for the mathematically curious: see
  \url{http://en.wikipedia.org/wiki/Random_walk} for an overview.

\end{itemize}

\section*{Tip for Success}
Use {\tt gdb} as a tool to debug your programs. As discussed in class,
you have three options:  
\begin{itemize}
  \item ``Old school'' \verb!gdb! (using only commands in a terminal
    window)
  \item \verb!gdb! integrated with Aquamacs/emacs (some commands, some
    mouse)
  \item GUI-based front end (Affinic)
\end{itemize}
  

\section*{What to Submit}
When your programs compile cleanly and work to your satisfaction,
place them in a folder named {\tt hw04}.  (Source code only please; no
other files need to be submitted.) Drag this
folder onto the SUBMIT icon, found in the Applications folder.


\end{document}
