Why doesn't static main work in C++?
<p>The code below doesn't work.  </p>

<pre><code>#include&lt;iostream&gt;
class Application
{
public:
    static int main(int argc, char** argv)
    {
        std::cin.get();
    }
};
</code></pre>

<p>I thought that static member functions are just the same as normal functions, and static WinMain works fine. Why doesn't static main work?</p>

<p>well, I think i somewhat got begin to understand, thank you for all the answers.</p>
