Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!usc!snorkelwacker!ira.uka.de!smurf!nadia!xenon!alf From: alf@xenon.stgt.sub.org (Ingo Feulner) Newsgroups: comp.lang.c Subject: Re: Turbo C large character array Message-ID: <17ac63d1.ARN02634@xenon.stgt.sub.org> Date: 2 Aug 90 20:01:53 GMT References: <1990Jul27.193520.4689@ux1.cso.uiuc.edu> Reply-To: alf@xenon.stgt.sub.org (Ingo Feulner) Followup-To: comp.lang.c Distribution: comp Organization: Xenon-Computing /\ Boeblingen, West Germany Lines: 19 In article , Chad Price writes: >In <1990Jul27.193520.4689@ux1.cso.uiuc.edu> gordon@osiris.cso.uiuc.edu (John Gordon) writes: >> char menu[1200][80]; >I'm afraid you have to use malloc (calloc), rather than simply declare >the large array. Then it works fine. > >Chad Price >price@fergvax.unl.edu But doesn't say the ANSI standard that malloc() mustn't allocate more than 64K once a time? (so says my Lattice C manual) -Ingo. -- Ingo Feulner - alf@xenon.stgt.sub.org Wolfacher Weg 22 - 7030 Boeblingen - (+49) 7031 272691 - West Germany Love your enemies. It'll make 'em crazy. AMIGA - the only way to go!