Turbo C large character array

John Gordon gordon at osiris.cso.uiuc.edu
Wed Aug 1 02:52:10 AEST 1990


jindak at surfside.sgi.com (Chris Schoeneman) writes:

>In article <1990Jul30.204053.28769 at ux1.cso.uiuc.edu>
> gordon at osiris.cso.uiuc.edu (John Gordon) writes:
>>
>>	Well, I managed to solve my problem, with thanks to all who posted and 
>>e-mailed me suggestions.  The final solution:
>>
>>	char huge menu[1200];
>>
>>	for(i = 0; i < 1200; i++)
>>		menu[i] = farmalloc(80);

>Almost.  But

>        char huge *menu[1200];

	Oops.  Typo.  I did use *menu[1200].


---
John Gordon
Internet: gordon at osiris.cso.uiuc.edu        #include <disclaimer.h>
          gordon at cerl.cecer.army.mil       #include <clever_saying.h>
GEnie:    j.gordon14                  



More information about the Comp.lang.c mailing list