C++ SS22: Bobby Tables und double Bilder
This commit is contained in:
Binary file not shown.
|
After Width: | Height: | Size: 31 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 4.0 KiB |
+19
-19
@@ -1982,6 +1982,25 @@ int sum_for(int n)
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
\begin{frame}[fragile]
|
||||||
|
\frametitle{select}
|
||||||
|
\begin{cpp}[fontsize=\footnotesize]
|
||||||
|
int i = ...;
|
||||||
|
switch (i)
|
||||||
|
{
|
||||||
|
case 1:
|
||||||
|
case 2:
|
||||||
|
case 3:
|
||||||
|
do_stuff();
|
||||||
|
break;
|
||||||
|
case 4:
|
||||||
|
do_other_stuff();
|
||||||
|
break;
|
||||||
|
default:
|
||||||
|
do_default();
|
||||||
|
}
|
||||||
|
\end{cpp}
|
||||||
|
\end{frame}
|
||||||
|
|
||||||
%%%% Lecture 3
|
%%%% Lecture 3
|
||||||
|
|
||||||
@@ -1992,25 +2011,6 @@ int sum_for(int n)
|
|||||||
% \label{sec:grobstruktur}
|
% \label{sec:grobstruktur}
|
||||||
|
|
||||||
|
|
||||||
% \begin{frame}[fragile]
|
|
||||||
% \frametitle{select}
|
|
||||||
% \begin{cpp}[fontsize=\footnotesize]
|
|
||||||
% int i = ...;
|
|
||||||
% switch (i)
|
|
||||||
% {
|
|
||||||
% case 1:
|
|
||||||
% case 2:
|
|
||||||
% case 3:
|
|
||||||
% do_stuff();
|
|
||||||
% break;
|
|
||||||
% case 4:
|
|
||||||
% do_other_stuff();
|
|
||||||
% break;
|
|
||||||
% default:
|
|
||||||
% do_default();
|
|
||||||
% }
|
|
||||||
% \end{cpp}
|
|
||||||
% \end{frame}
|
|
||||||
|
|
||||||
\subsection{Deklaration und Definition von Funktionen}
|
\subsection{Deklaration und Definition von Funktionen}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user