Skip to content
Snippets Groups Projects
Commit 1ac29b3e authored by Sebastien Ponce's avatar Sebastien Ponce
Browse files

Tiny fixes found while reading back course for Jan 21 HEP edition of the course

parent 60d165f8
No related branches found
No related tags found
No related merge requests found
......@@ -279,7 +279,7 @@
\item It is not complete at all (would need 3 weeks...)
\begin{itemize}
\item although is it already too long for the time we have
\item \inserttotalframenumber{} slides, \insertpresentationendpage{} pages, 15 exercises...
\item \inserttotalframenumber{} slides, \insertpresentationendpage{} pages, 16 exercises...
\end{itemize}
\end{itemize}
\end{block}
......
......@@ -400,8 +400,7 @@
student.weight = 78.5;
Individual teacher = {
.age = 45,
.weight=67
45, 67
};
\end{cppcode*}
\columnbreak
......
......@@ -73,7 +73,7 @@
\item Both C and \cpp are born in Bell Labs
\item \cpp {\it almost} embeds C
\item C and \cpp are still under development
\item We will discuss all \cpp specs
\item We will discuss all \cpp specs but \cpp20
\item Each slide will be marked with first spec introducting the feature
}
\end{itemize}
......
......@@ -1677,9 +1677,11 @@ of 'std::unique_ptr<Foo>'
\item go to code/smartPointers
\item compile and run the program. It doesn't generate any output.
\item Run with valgrind to check for leaks
\begin{minted}{shell-session}
{ \scriptsize
\begin{minted}[gobble=6]{shell-session}
$ valgrind --leak-check=full --track-origins=yes ./smartPointers
\end{minted}
}
\item Go through {\ttfamily problem1()} to {\ttfamily problem3()} and fix the leaks using smart pointers.
\item {\ttfamily problem4()} is the most difficult. Skip if not enough time.
\end{itemize}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment