TIP: Click on subject to list as thread! ANSI
echo: c_echo
to: Neil Heller
from: Jasen Betts
date: 2003-10-17 06:49:14
subject: Memory matters

Hi Neil.

15-Oct-03 10:39:02, Neil Heller wrote to Pascal Schmidt


 PS>> Okay, so a better answer would've been "allocate it
statically".

 NH> No way.  That action would unnecessarily eat up limited stack
 NH> space.

no, as a global (or if declared static) it'd go in the data area and with a 32 bit
compiler you're not limited to 64K of data (or stack for that matter)

Only "auto's" declared inside a function (even inside main) and
not declared
static go on the stack.

 -=> Bye <=-

---
* Origin: Black Holes were created when God divided by zero! (3:640/1042)
SEEN-BY: 633/267 270
@PATH: 640/1042 531 954 774/605 123/500 106/2000 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.