Is this C++ code defining main or running main?
<p>I'm reading Stroustrup's Programming: Principles and Practice and came across this code:</p>

<pre><code>int main()
try {
    // our program
    return 0; //0 indicates success
}
catch (exception&amp; e) {
    cerr &lt;&lt; "error: " &lt;&lt;e.what() &lt;&lt;'\n';
    keep_window_open();
    return 1; // 1 indicates failure
}
catch (...) {
    cerr &lt;&lt; "Oops: Unknown exception!\n";
    keep_window_open();
    return 2; //2 indicates failure
}
</code></pre>

<p>At first I thought that the first line called the main function (which contained the heart of the code and was written somewhere else). And then we are just trying to catch errors that might have occurred inside of main(). But if that's the
 case, why does it say "our program" in the try block? This makes me think that
this code is defining main(). But if that's the case, then where are the bracket
s? That is, why isn't it <code>int main() {</code> on the first line?</p>
