Mail Archives: djgpp/1997/06/21/11:49:02
Paul Derbyshire wrote:
>
> 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...
great! now we now you have been through elementary school.
--
Sinan
*******************************************************************
A. Sinan Unur WWWWWW
|--O+O
mailto:sinan DOT unur AT cornell DOT edu C ^
http://www.people.cornell.edu/pages/asu1/ \ ~/
Unsolicited e-mail is _not_ welcome, and will be billed for.
*******************************************************************
- Raw text -