added example source code
This commit is contained in:
parent
359aefa0b6
commit
6ef9e1d575
27
src/main.tex
27
src/main.tex
@ -17,7 +17,8 @@
|
||||
\usepackage{booktabs}
|
||||
\usepackage{amsmath}
|
||||
\usepackage{hyperref}
|
||||
\usepackage{graphicx} % Required for better table rules
|
||||
\usepackage{graphicx}
|
||||
\usepackage{listings} % Required for better table rules
|
||||
|
||||
%----------------------------------------------------------------------------------------
|
||||
% TITLE SLIDE
|
||||
@ -52,18 +53,28 @@
|
||||
%------------------------------------------------
|
||||
|
||||
\begin{frame}{Strukturen Allgemein}
|
||||
This is a simple slide.
|
||||
\end{frame}
|
||||
|
||||
%------------------------------------------------
|
||||
|
||||
\begin{frame}{Strukturen als Funktionsargument}
|
||||
This is a simple slide.
|
||||
\begin{itemize}
|
||||
\item kategorisieren von Variablen
|
||||
\end{itemize}
|
||||
\end{frame}
|
||||
|
||||
%------------------------------------------------
|
||||
|
||||
\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.
|
||||
\end{frame}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user