strukturen als Funktionsargument
This commit is contained in:
1 parent
ae43fcc376
commit
bd82e73ef0
1 file changed
+13
-2
+13
-2
@@ -132,8 +132,19 @@ ADR a1,a2;
|
|||||||
\end{frame}
|
\end{frame}
|
||||||
%------------------------------------------------
|
%------------------------------------------------
|
||||||
|
|
||||||
\begin{frame}{Strukturen als Funktionsargument}
|
\begin{frame}[fragile]{Strukturen als Funktionsargument}
|
||||||
TODO
|
Ohne Typedef:
|
||||||
|
\begin{lstlisting}
|
||||||
|
void testfunc(struct Adresse a){
|
||||||
|
long plz = a.plz;
|
||||||
|
}
|
||||||
|
\end{lstlisting}
|
||||||
|
Mit Typedef:
|
||||||
|
\begin{lstlisting}
|
||||||
|
void testfunc(ADR a){
|
||||||
|
long plz = a.plz;
|
||||||
|
}
|
||||||
|
\end{lstlisting}
|
||||||
\end{frame}
|
\end{frame}
|
||||||
|
|
||||||
%------------------------------------------------
|
%------------------------------------------------
|
||||||
|
|||||||
Reference in new issue
Block a user