Skip to content

Commit

Permalink
More structure, getting the feel for it.
Browse files Browse the repository at this point in the history
  • Loading branch information
zedshaw committed Sep 1, 2011
1 parent 6c78550 commit 43a81a5
Show file tree
Hide file tree
Showing 58 changed files with 544 additions and 18 deletions.
1 change: 0 additions & 1 deletion book.tex
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
\tableofcontents

\include{preface}

\mainmatter

\include{introduction}
Expand Down
8 changes: 8 additions & 0 deletions commands.tex
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,14 @@
}
{ \end{quote} \end{note} }

\newenvironment{Terminal}[1]
{
\begin{source}
\caption{\hfill\it #1}
\sffamily\small
}
{\end{source}}

\newenvironment{code}[1]
{
\begin{source}
Expand Down
4 changes: 2 additions & 2 deletions ex0.tex
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ \section{Linux}
a few things using these commands:

\begin{code}{Installing Requirements On Ubuntu}
\begin{Verbatim}
\begin{lstlisting}
$ aptitude install build-essential
\end{Verbatim}
\end{lstlisting}
\end{code}

The above is an example of a command line prompt, so to get to where
Expand Down
24 changes: 15 additions & 9 deletions ex1.tex
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,20 @@ \chapter{Exercise 1: Dust Off That Compiler}

You can put this into a \file{ex1.c} then type:

\begin{code}{Building ex1}
\begin{Verbatim}
make ex1
./ex1
\end{Verbatim}
\end{code}
\begin{Terminal}{Building ex1}
\begin{lstlisting}
$ make ex1
$ ./ex1
\end{lstlisting}
\end{Terminal}

\section{What You Should See}


\section{How To Break It}


\section{Extra Credit}


Try it and let me know if it worked. If you type this \verb|make ex1.c| then
you're doing it wrong and need to pay attention to what I typed. C does not
treat kindly those who lack attention to detail.

10 changes: 10 additions & 0 deletions ex10.tex
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
\chapter{Exercise 10}


\section{What You Should See}


\section{How To Break It}


\section{Extra Credit}



10 changes: 10 additions & 0 deletions ex11.tex
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
\chapter{Exercise 11}


\section{What You Should See}


\section{How To Break It}


\section{Extra Credit}



10 changes: 10 additions & 0 deletions ex12.tex
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
\chapter{Exercise 12}


\section{What You Should See}


\section{How To Break It}


\section{Extra Credit}



10 changes: 10 additions & 0 deletions ex13.tex
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
\chapter{Exercise 13}


\section{What You Should See}


\section{How To Break It}


\section{Extra Credit}



10 changes: 10 additions & 0 deletions ex14.tex
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
\chapter{Exercise 14}


\section{What You Should See}


\section{How To Break It}


\section{Extra Credit}



10 changes: 10 additions & 0 deletions ex15.tex
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
\chapter{Exercise 15}


\section{What You Should See}


\section{How To Break It}


\section{Extra Credit}



10 changes: 10 additions & 0 deletions ex16.tex
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
\chapter{Exercise 16}


\section{What You Should See}


\section{How To Break It}


\section{Extra Credit}



10 changes: 10 additions & 0 deletions ex17.tex
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
\chapter{Exercise 17}


\section{What You Should See}


\section{How To Break It}


\section{Extra Credit}



10 changes: 10 additions & 0 deletions ex18.tex
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
\chapter{Exercise 18}


\section{What You Should See}


\section{How To Break It}


\section{Extra Credit}



10 changes: 10 additions & 0 deletions ex19.tex
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
\chapter{Exercise 19}


\section{What You Should See}


\section{How To Break It}


\section{Extra Credit}



11 changes: 11 additions & 0 deletions ex2.tex
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,14 @@ \chapter{Exercise 2: Make Is Your Python Now}
... go into a simple makefile ...

... show how to run the simple makefile ...

\section{What You Should See}


\section{How To Break It}


\section{Extra Credit}



10 changes: 10 additions & 0 deletions ex20.tex
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
\chapter{Exercise 20}


\section{What You Should See}


\section{How To Break It}


\section{Extra Credit}



10 changes: 10 additions & 0 deletions ex21.tex
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
\chapter{Exercise 21}


\section{What You Should See}


\section{How To Break It}


\section{Extra Credit}



10 changes: 10 additions & 0 deletions ex22.tex
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
\chapter{Exercise 22}


\section{What You Should See}


\section{How To Break It}


\section{Extra Credit}



10 changes: 10 additions & 0 deletions ex23.tex
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
\chapter{Exercise 23}


\section{What You Should See}


\section{How To Break It}


\section{Extra Credit}



10 changes: 10 additions & 0 deletions ex24.tex
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
\chapter{Exercise 24}


\section{What You Should See}


\section{How To Break It}


\section{Extra Credit}



10 changes: 10 additions & 0 deletions ex25.tex
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
\chapter{Exercise 25}


\section{What You Should See}


\section{How To Break It}


\section{Extra Credit}



10 changes: 10 additions & 0 deletions ex26.tex
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
\chapter{Exercise 26}


\section{What You Should See}


\section{How To Break It}


\section{Extra Credit}



10 changes: 10 additions & 0 deletions ex27.tex
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
\chapter{Exercise 27}


\section{What You Should See}


\section{How To Break It}


\section{Extra Credit}



10 changes: 10 additions & 0 deletions ex28.tex
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
\chapter{Exercise 28}


\section{What You Should See}


\section{How To Break It}


\section{Extra Credit}



10 changes: 10 additions & 0 deletions ex29.tex
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
\chapter{Exercise 29}


\section{What You Should See}


\section{How To Break It}


\section{Extra Credit}



10 changes: 10 additions & 0 deletions ex3.tex
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,13 @@ \chapter{Exercise 3: Formatted Printing}

... explain this ...

\section{What You Should See}


\section{How To Break It}


\section{Extra Credit}



10 changes: 10 additions & 0 deletions ex30.tex
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
\chapter{Exercise 30}


\section{What You Should See}


\section{How To Break It}


\section{Extra Credit}



Loading

0 comments on commit 43a81a5

Please sign in to comment.