C++ Template
Author
Luuk
Last Updated
7년 전
License
Creative Commons CC BY 4.0
Abstract
The template for the C++ code
The template for the C++ code
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage[a4paper, margin=1in]{geometry}
\usepackage{minted}
\large
\title{C++ Assignment 1}
\begin{document}
\begin{titlepage}
\begin{center}
\line(1,0){300}\\
[0.65cm]
\huge{\bfseries Assignment II}\\
\line(1,0){300}\\
\textsc{\Large C++ Course Part III}\\
\textsc{\LARGE \today}\\
[5.5cm]
\end{center}
\begin{flushright}
\textsc{\Large T.T. Veldman\\S2754401}\\
[0.5cm]
\textsc{\Large L. Wester\\S2755351}\\
[0.5cm]
\end{flushright}
\end{titlepage}
\section*{Exercise 1}
\subsection*{main.cpp}
\begin{minted}[frame=lines, linenos, fontsize=\large]
{c++}
#include "header.ih"
int main()
{
fn1();
fn2();
}
\end{minted}
\end{document}