[gnome-university] c101: update TODOs.
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-university] c101: update TODOs.
- Date: Mon, 12 Nov 2012 02:26:32 +0000 (UTC)
commit 60ccac21b0a749b643d57e29ef469505e803c34e
Author: Christian Hergert <christian hergert me>
Date: Sun Nov 11 18:25:44 2012 -0800
c101: update TODOs.
c101/tex/chapter2.tex | 21 ++++++++++++++-------
1 files changed, 14 insertions(+), 7 deletions(-)
---
diff --git a/c101/tex/chapter2.tex b/c101/tex/chapter2.tex
index fa15604..4e22b46 100644
--- a/c101/tex/chapter2.tex
+++ b/c101/tex/chapter2.tex
@@ -149,13 +149,6 @@ The value is \verb|200| which we calculated and assigned to \verb|x| on the firs
Then we multiply that by \verb|5| for a result of \verb|1000|.
Finally, the value \verb|1000| is assigned to \verb|x|.
-TODO
-
-\begin{itemize}
-\item arithmetic and operators and what they do.
-\item order of operations
-\end{itemize}
-
\begin{tabular}{c l l}
\verb|+| & addition of two values & \verb|100 + 20| $\Rightarrow$ \verb|120| \\
\verb|-| & subtraction of two values & \verb|100 - 20| $\Rightarrow$ \verb|80| \\
@@ -164,6 +157,13 @@ TODO
\verb|%| & remainder of division of two values & \verb|100 % 9| $\Rightarrow$ 1 \\
\end{tabular}
+TODO
+
+\begin{itemize}
+\item order of operations
+\item explaination of following code fragments.
+\end{itemize}
+
\begin{code}{arithmetic.c}
#include <stdio.h>
@@ -190,6 +190,13 @@ main (int argc,
}
\end{code}
+TODO
+
+\begin{itemize}
+\item explaination of \verb|++|
+\item explaination of \verb|--|
+\end{itemize}
+
\section{printf() and scanf()}
TODO
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]