diff --git a/Assignments/A3/spec.pdf b/Assignments/A3/spec.pdf index ca078b459b2caa186327855bdd4e4e2f61cea81e..e5a3466351d47cf8055eabbf8112f37596dcf357 100644 Binary files a/Assignments/A3/spec.pdf and b/Assignments/A3/spec.pdf differ diff --git a/Assignments/A3/spec.tex b/Assignments/A3/spec.tex index 3a06896defcc7d1c883b77db93890548fd0299dc..20ef6637cc3c918227841ba592d085f41294c657 100644 --- a/Assignments/A3/spec.tex +++ b/Assignments/A3/spec.tex @@ -415,7 +415,8 @@ PathT($st, ornt, l$): \noindent len: \begin{itemize} -\item output: \wss{Output the number of points on the line.} +\item output: \wss{Output the total number of points (grid cells) on the path, + including the beginning and end points (cells).} \item exception: None \end{itemize} diff --git a/Lectures/L23_FiniteStateMachines/FiniteStateMachines.pdf b/Lectures/L23_FiniteStateMachines/FiniteStateMachines.pdf index bccdbaa04e35f09cce1ccab8dc4038a48911bcf4..296c29856a9e1dc40d11b4c40f6e882ced5caa8d 100644 Binary files a/Lectures/L23_FiniteStateMachines/FiniteStateMachines.pdf and b/Lectures/L23_FiniteStateMachines/FiniteStateMachines.pdf differ diff --git a/Lectures/L23_FiniteStateMachines/FiniteStateMachines.tex b/Lectures/L23_FiniteStateMachines/FiniteStateMachines.tex index 508bbc78515bfb9fe0093a226f4d0f5b7de4211d..1c840e50c22d882d0f7cb9e8ffd26202ef4834a6 100755 --- a/Lectures/L23_FiniteStateMachines/FiniteStateMachines.tex +++ b/Lectures/L23_FiniteStateMachines/FiniteStateMachines.tex @@ -77,6 +77,8 @@ TBD \bi \item LineT len output type better as $\mathbb{N}$ (rather than $\mathbb{Z}$) \item LineT strt output should be $out := \mbox{PointT}(s.x(), s.y())$ +\item PathT len output the total number of points (grid cells) on the path, + including the beginning and end points (cells). \ei \end{itemize} diff --git a/Tutorials/T08-CppExamples/slides/T8.pdf b/Tutorials/T08-CppExamples/slides/T8.pdf index 6e85e58c0dba1886afce160295536fb8a2720e1e..1c30720a58be87534d64646e4c85467fe1e4346e 100644 Binary files a/Tutorials/T08-CppExamples/slides/T8.pdf and b/Tutorials/T08-CppExamples/slides/T8.pdf differ diff --git a/Tutorials/T08-CppExamples/slides/T8.tex b/Tutorials/T08-CppExamples/slides/T8.tex index 095d3f9947f4e95f3e0a398f4bf1542f2b95a693..d71dd53f5143ac60c259796c6dec80155f5c4328 100644 --- a/Tutorials/T08-CppExamples/slides/T8.tex +++ b/Tutorials/T08-CppExamples/slides/T8.tex @@ -269,7 +269,7 @@ We will discuss what this does on the next slides. \begin{frame}[t] \frametitle{Exercise 2: Run the Preprocessor Without Guards} \begin{block}{Exercise 2} -The code in \texttt{examples/compilation/withguards} contains the same code as the last example with the header guards removed.\\[\baselineskip] +The code in \texttt{examples/compilation/noguards} contains the same code as the last example with the header guards removed.\\[\baselineskip] Look at main.cpp. Notice that main.cpp includes B.h, and {\bf B.h includes A.h}. Notice that {\bf main.cpp also includes A.h}.\\[\baselineskip]