🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.programmer
Article #7856

Re: Help needed with Dynamic Memory Allocation

#7856
From: Bernardo Reino Romero
Date: Thu, 21 Dec 1995 09:39
18 lines
911 bytes

On Mon, 11 Dec 1995, Mr R. Forster wrote:

> I have posted this recently in the group comp.lang.c,
> 
> I need a algorithm to find the quickest way to establish the maximum amount
> of dynamic memory that can be allocated using C.
> 
> Using DOS and the function MALLOC.
> 
> any help would be appreciated.
> 
> Thanks.
> 
> 

 Just use coreleft(), or farcoreleft() if you are in the far mode.
Technical Details
Message-ID: <Pine.A32.3.91.951221103926.11455C-100000@ccaix3.unican.es>
Path: arc1-ca.pugleaf.net!ccaix3.unican.es!reinob
References: <DJEzpt.A7M@liverpool.ac.uk>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!ccaix3.unican.es!reinob
Newsgroups: comp.os.msdos.programmer,comp.lang.c++
Subject: Re: Help needed with Dynamic Memory Allocation 
Message-ID: <Pine.A32.3.91.951221103926.11455C-100000@ccaix3.unican.es>
From: Bernardo Reino Romero <reinob@ccaix3.unican.es>
Date: Thu, 21 Dec 1995 10:39:49 +0100
References: <DJEzpt.A7M@liverpool.ac.uk> 
Nntp-Posting-Host: ccaix3.unican.es
In-Reply-To: <DJEzpt.A7M@liverpool.ac.uk> 
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII