decalring large arrays
John Gordon
gordon at osiris.cso.uiuc.edu
Wed Jun 19 06:59:21 AEST 1991
tomr at maccs.dcss.mcmaster.ca (Rickey Thomas Tom) writes:
>I have a simple question. I sort some data. The easiest way to do this is to
>decalre a large array to sotre this data and then sort the array. However,
>it apopears that in a DOS environment, I am only allowed an array up to 64 K in size. Is there a way to declare larger arrays than this for sort. Is there another way that I could store a large quantity of data for sorting.
Don't declare it as an array. Declare it as a pointer and malloc()
it in the program.
More information about the Comp.lang.c
mailing list