Mail Archives: djgpp/1997/11/25/07:12:18

Date: Tue, 25 Nov 1997 14:11:14 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: "Tony O'Bryan" <aho450s AT nic DOT smsu DOT edu>
cc: djgpp AT delorie DOT com
Subject: Re: Large global arrays in C++
In-Reply-To: <>
Message-ID: <Pine.SUN.3.91.971125141052.27505X-100000@is>
MIME-Version: 1.0

On Mon, 24 Nov 1997, Tony O'Bryan wrote:

> > Are you sure you need to compile that game as a C++ program?  This
> > feature only exists for C++ programs, so you can avoid it by compiling
> > it as C.
> That's not entirely true.  A global array in C that is not
> auto-intialized does not consume extra disk space.  An auto-initialized
> global array does get written to disk in its entirety.

This thread was started when somebody asked about static array that
was NOT initialized.  My reply was applicable to that case.

- Raw text -

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