-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexample.tex
More file actions
38 lines (32 loc) · 1.04 KB
/
example.tex
File metadata and controls
38 lines (32 loc) · 1.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
\input{definitions}
\begin{document}
\title{Introduction}
\subtitle{Compilers, IDEs, Hello World}
\date{\today}
\author{Florian Warg, Max Staff}
\maketitle
\begin{frame}[fragile]
\frametitle{Compilers}
\begin{tabular}{lllccc}
\textbf{Name} & \textbf{OS} & \textbf{License} & \textbf{C++11} & \textbf{C++14} & \textbf{C++17} \\
Intel & Linux, OS X & Proprietary & Partial & Partial & No \\
MS Visual C++ & Most & Proprietary & Yes & Partial & Partial \\
Clang & All & MIT/BSD & Yes & Yes & Partial \\
GCC & All\footnote{Using external software for Windows} & GPLv3 & Yes & Yes & Partial \\
\end{tabular} \bigskip
$https\://en.wikipedia.org/wiki/List\_of\_compilers\#C.2B.2B\_compilers$
\end{frame}
\begin{frame}[fragile]
\frametitle{source code}
\begin{lstlisting}
#include <iostream>
using namespace std;
int main() {
cout << "Hello World!\n";
}
\end{lstlisting}
\begin{lstlisting}[numbers=none]
compiler flags: -std=c++14 -Wall -Wextra -pedantic
\end{lstlisting}
\end{frame}
\end{document}