Turbo C large character array

Ingo Feulner alf at xenon.stgt.sub.org
Fri Aug 3 06:01:53 AEST 1990


In article <price.649352434 at glacier>, Chad Price writes:
>In <1990Jul27.193520.4689 at ux1.cso.uiuc.edu> gordon at 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 at 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 at 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!



More information about the Comp.lang.c mailing list