|
|
|
@ -43,7 +43,7 @@ |
|
|
|
|
\definecolor{keywords}{RGB}{255,0,90} |
|
|
|
|
\definecolor{comments}{RGB}{60,179,113} |
|
|
|
|
\lstset{basicstyle=\footnotesize\ttfamily} |
|
|
|
|
\lstset{language=Python, |
|
|
|
|
\lstset{language=[GNU]C++, |
|
|
|
|
keywordstyle=\color{keywords}, |
|
|
|
|
commentstyle=\color{comments}\emph} |
|
|
|
|
|
|
|
|
@ -93,6 +93,23 @@ commentstyle=\color{comments}\emph} |
|
|
|
|
The answer to everything... |
|
|
|
|
\end{frame} |
|
|
|
|
|
|
|
|
|
% |
|
|
|
|
% code frame |
|
|
|
|
% |
|
|
|
|
|
|
|
|
|
\section{C++ example Code} |
|
|
|
|
\begin{frame}[fragile]{C++ example Code} |
|
|
|
|
% code example |
|
|
|
|
\begin{lstlisting} |
|
|
|
|
# include <iostream> |
|
|
|
|
int main() { |
|
|
|
|
std::cout << "Hewwo Worwld!" \ |
|
|
|
|
<< std::endl; |
|
|
|
|
return 0; |
|
|
|
|
} |
|
|
|
|
\end{lstlisting} |
|
|
|
|
\end{frame} |
|
|
|
|
|
|
|
|
|
% |
|
|
|
|
% credits frame |
|
|
|
|
% |
|
|
|
|