Tony wrote:
Quote:
|
What happens before main()?
|
Construction of static objects defined at the namespace
level happens. Everything else is implementation-defined.
Quote:
Perhaps someone can explain it succintly and perhaps
someone has a link where it is described?
|
Perhaps.
Quote:
crt0.lib or
something like that comes to mind (surely I have the
source code to that given that I have a number of
compilers (some very old) but I'd rather get some
rough idea first of what's happening there). Is it just
setting up an environment in which the C++ library
will work?
|
Yes. Probably. In your system, that is.
Quote:
What happens from the time a program
is started (typing the name on the command line and
pressing enter, for example) until it starts initializing
application program objects and then ending up at main()?
|
That's up to the hosting environment and beyond the scope
of this newsgroup.
V
--
Please remove capital 'A's when replying by e-mail
I do not respond to top-posted replies, please don't ask