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}
 | 
					    \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