19 lines
409 B
TeX
19 lines
409 B
TeX
\begin{frame}[containsverbatim]
|
|
\frametitle{\secname}
|
|
\framesubtitle{\subsecname}
|
|
\begin{exampleblock}{helloworld.c}
|
|
\begin{verbatim}
|
|
#include <stdio.h>
|
|
|
|
/** Function main
|
|
|
|
Displays a fixed message on standard output
|
|
@returns int the status code : 0 = success
|
|
*/
|
|
int main() {
|
|
puts( "Hello, World" ) ; /* This is a comment */
|
|
return 0 ;
|
|
}
|
|
\end{verbatim}
|
|
\end{exampleblock}
|
|
\end{frame}
|