delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/05/19/01:09:51

Date: Fri, 19 May 2000 10:34:30 +0530 (IST)
From: Prashant TR <prashant_tr AT yahoo DOT com>
X-Sender: tr AT vsnl DOT net DOT in
To: Burgupalli Chaitanya <Chaitanya DOT Burgupalli AT fujixerox DOT co DOT jp>
cc: DJGPP <djgpp AT delorie DOT com>
Subject: Re: allocated memory size
In-Reply-To: <39249FAE.F0428E1F@fujixerox.co.jp>
Message-ID: <Pine.LNX.4.10.10005191033170.1071-100000@vsnl.net.in>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Fri, 19 May 2000, Burgupalli Chaitanya wrote:

> Is there any way I can find out the number of bytes of memory that has 
> been allocated to a pointer. Keep track of it while allocating would be
> a simple solution but is there any other way.

No, there isn't a way. So you'll have to know what you are doing.
Please try comp.lang.c++ or some such newsgroup for questions specific to
C.

Prashant

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019