Call main() itself in c++?
<pre><code>int main() {
    cout &lt;&lt; "!!!Hello World!!!" &lt;&lt; endl; // prints !!!Hello World!!!
    system("pause");
    return main();
}
</code></pre>

<p>The above works,but it hardcoded the <code>main()</code>,is there a magic variable to get the current running function?</p>
