Mail Archives: djgpp/1997/06/20/00:36:05
Paul Derbyshire (ao950 AT FreeNet DOT Carleton DOT CA) writes:
>> Table thingy[255][128];
> That was about a megabyte of data pushed on the stack, which on DOS DJGPP,
> only holds 256K.
Oops... actually, just under 512K. 256*256 is 64K, so 128*255 is just
under 32K. That is times four ints per struct times four bytes per int,
gives 512K...
--
.*. Where feelings are concerned, answers are rarely simple [GeneDeWeese]
-() < When I go to the theater, I always go straight to the "bag and mix"
`*' bulk candy section...because variety is the spice of life... [me]
Paul Derbyshire ao950 AT freenet DOT carleton DOT ca, http://chat.carleton.ca/~pderbysh
- Raw text -