Skip to content

Commit

Permalink
tiny fixes from 10th editoin of the course
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebastien Ponce authored and Sebastien Ponce committed Mar 26, 2024
1 parent 42772c7 commit 7f1007f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion talk/basicconcepts/control.tex
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@
\end{cppcode*}
\vspace{-0.2cm}
\begin{itemize}
\item Initializations and increments are comma separated
\item Multiple initializations / increments are comma separated
\item Initializations can contain declarations
\item Braces are optional if loop body is a single statement
\end{itemize}
Expand Down
2 changes: 1 addition & 1 deletion talk/objectorientation/objectsclasses.tex
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@
int a;
int sum(int b);
int sum(int b, int c);
}
};

int MyFirstClass::sum(int b) { return a + b; }

Expand Down

0 comments on commit 7f1007f

Please sign in to comment.