static main from static class?
<p>I'm trying to figure out why this is not working. I want to do like in Java where main is a static function in a class but this is producing unresolved external symbol error:</p>

<pre><code> static class MainClass
{
     public:
    static int _tmain(int argc, char* argv[])
    {
        return 0;
    }
};
</code></pre>

<p>Why doesn't this work?</p>

<p>Thanks</p>
