added example source code

This commit is contained in:
lukas-heiligenbrunner 2020-04-17 09:44:11 +02:00
parent 359aefa0b6
commit 6ef9e1d575

View File

@ -17,7 +17,8 @@
\usepackage{booktabs} \usepackage{booktabs}
\usepackage{amsmath} \usepackage{amsmath}
\usepackage{hyperref} \usepackage{hyperref}
\usepackage{graphicx} % Required for better table rules \usepackage{graphicx}
\usepackage{listings} % Required for better table rules
%---------------------------------------------------------------------------------------- %----------------------------------------------------------------------------------------
% TITLE SLIDE % TITLE SLIDE
@ -52,18 +53,28 @@
%------------------------------------------------ %------------------------------------------------
\begin{frame}{Strukturen Allgemein} \begin{frame}{Strukturen Allgemein}
This is a simple slide. \begin{itemize}
\end{frame} \item kategorisieren von Variablen
\end{itemize}
%------------------------------------------------
\begin{frame}{Strukturen als Funktionsargument}
This is a simple slide.
\end{frame} \end{frame}
%------------------------------------------------ %------------------------------------------------
\begin{frame}{Strukturen in C} \begin{frame}{Strukturen in C}
\begin{lstlisting}[language=c,label={lst:lstlisting}]
struct adresse {
char name[50];
char strasse[100];
short hausnummer;
long plz;
char stadt[50];
};
\end{lstlisting}
\end{frame}
%------------------------------------------------
\begin{frame}{Strukturen als Funktionsargument}
This is a simple slide. This is a simple slide.
\end{frame} \end{frame}