Xref: utzoo comp.lang.c:40190 comp.lang.c++:14198 Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!pacific.mps.ohio-state.edu!linac!mp.cs.niu.edu!ux1.cso.uiuc.edu!osiris.cso.uiuc.edu!gordon From: gordon@osiris.cso.uiuc.edu (John Gordon) Newsgroups: comp.lang.c,comp.lang.c++ Subject: Re: decalring large arrays Message-ID: <1991Jun18.205921.20757@ux1.cso.uiuc.edu> Date: 18 Jun 91 20:59:21 GMT References: <285B94A3.25253@maccs.dcss.mcmaster.ca> Sender: usenet@ux1.cso.uiuc.edu (News) Organization: University of Illinois at Urbana Lines: 8 tomr@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.