strukturen als Funktionsargument
This commit is contained in:
		
							
								
								
									
										15
									
								
								src/main.tex
									
									
									
									
									
								
							
							
						
						
									
										15
									
								
								src/main.tex
									
									
									
									
									
								
							@@ -132,8 +132,19 @@ ADR a1,a2;
 | 
			
		||||
    \end{frame}
 | 
			
		||||
%------------------------------------------------
 | 
			
		||||
 | 
			
		||||
    \begin{frame}{Strukturen als Funktionsargument}
 | 
			
		||||
        TODO
 | 
			
		||||
    \begin{frame}[fragile]{Strukturen als Funktionsargument}
 | 
			
		||||
        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}
 | 
			
		||||
 | 
			
		||||
%------------------------------------------------
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user