Mail Archives: djgpp/1996/12/13/23:44:34
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 -