www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/12/13/23:44:34

From: Yamaha / XYZZ <scriven AT CS DOT ColoState DOT edu>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Something REALLY weird
Date: Thu, 12 Dec 1996 16:01:07 -0700
Organization: XYZZ Software Co.
Lines: 21
Message-ID: <32B08EB3.2781@CS.ColoState.edu>
References: <01bbe874$f4290540$aa49bacd AT alexey DOT ix DOT netcom DOT com>
NNTP-Posting-Host: miro.vis.colostate.edu
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Alexey Kouzmitch wrote:
> 
>         Hi, can someone help me please...
>         I have a main file including 3 more with #include, plus it uses Allegro...
> Well, compiles OK, runs OK, but 5.8 MEGS long with 6% of actually being
> non-zero bytes ??? Wow, I said... WHY ??? I get a bit of code (around 3%)
> in the beginning, then A LOT of zeroes (through 97%) and then some more
> Allegro info in the end... What am I missing, some switch or what??? please
> help... thanks...

You're using c++, aren't you...

Generally, when using c++ (instead of C), global data is stored in the
executable file.  It sounds like you've got several really big global
arrays...


-- Yamaha / XYZZ
mailto:scriven AT CS DOT ColoState DOT edu          
mailto:scriven AT VIS DOT ColoState DOT edu
http://www.vis.colostate.edu/~scriven/

- Raw text -


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