<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">\documentclass{elteikthesis}[2024/04/26]

\usepackage[newfloat]{minted}

\begin{document}
\documentlang{english}

\chapter{Minted source code example}
\label{ch:chapter}

\begin{listing}[H]
\begin{minted}{cpp}
#include &lt;stdio&gt;

int main() 
{
	int c;
	std::cout &lt;&lt; "Hello World!" &lt;&lt; std::endl;

	std::cout &lt;&lt; "Press any key to exit." &lt;&lt; std::endl;
	std::cin &gt;&gt; c;
	
	return 0;
}
\end{minted}
\caption{Hello World in C++}
\end{listing}

\phantomsection
\addcontentsline{toc}{chapter}{\lstcodelabel}
\listoflistings

\end{document}</pre></body></html>