\documentclass{article}

\begin{document}
\noindent
Look at the first $C^{++}$ program I have ever written:

#include<stdio.h>
#include<iostream>
// A comment
int main(void)
{
    printf("Hello World\n");
    return 0;
}

\noindent
Isn't it great?

\end{document}
