www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1996/08/01/11:14:07

Date: Thu, 1 Aug 1996 18:09:37 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: DJ Delorie <dj AT delorie DOT com>
Cc: djgpp-workers AT delorie DOT com
Subject: Re: Startup customization
In-Reply-To: <199608011301.JAA07846@delorie.com>
Message-Id: <Pine.SUN.3.91.960801180631.5751E-100000@is>
Mime-Version: 1.0

On Thu, 1 Aug 1996, DJ Delorie wrote:

> conio already handles this by using C++ constructors, which get called
> before main().

How can I access variables like argc and argv from these constructors
(without writing C++ code)?  If I cannot, they aren't good enough.  Also,
how can one know in what order will these constructors be called?  (Sorry,
I never bothered to look into the mechanism which ctors and dtors use, so
I might have just asked two dumb questions.)

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019