Ok, my past C++ experience has all been in the Windows environment using MFC so I've never really worried about a main(...) function as the App Wizard took care of all that for me.
When writing a console app with a main(...) function, is it ever reasonable to put main(...) in a class as a member function or should it always be kind of hanging out there as a global so to speak? If it can be put in a class, how does the OS know where the entry-point for the exe is?