From: Jason Kircher User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3b) Gecko/20030112 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.os.msdos.djgpp Subject: Re: allocating big chunks with djgpp References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Lines: 12 Message-ID: Date: Sun, 09 Feb 2003 15:59:22 GMT NNTP-Posting-Host: 68.9.50.32 X-Complaints-To: abuse AT cox DOT net X-Trace: news1.east.cox.net 1044806362 68.9.50.32 (Sun, 09 Feb 2003 10:59:22 EST) NNTP-Posting-Date: Sun, 09 Feb 2003 10:59:22 EST Organization: Cox Communications To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Jacky Luk wrote: > with 16-bit DOS compilers, char buffer[30000][81] seems unrealistic and > infeasible. Now with Djgpp, how do I allocate such a big buffer in terms of > what syntax is used? or leave that code snippet intact and the linker will > function okay? > Thanks > Jack > > Take a look at malloc().