delorie.com/archives/browse.cgi | search |
From: | "Alexei A. Frounze" <alex DOT fru AT mtu-net DOT ru> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: allocated memory size |
Date: | Fri, 19 May 2000 10:39:03 +0400 |
Organization: | MTU-Intel ISP |
Lines: | 26 |
Message-ID: | <3924E187.CB75ED81@mtu-net.ru> |
References: | <39249FAE DOT F0428E1F AT fujixerox DOT co DOT jp> |
NNTP-Posting-Host: | ppp108-3.dialup.mtu-net.ru |
Mime-Version: | 1.0 |
X-Trace: | gavrilo.mtu.ru 958718793 41367 212.188.108.3 (19 May 2000 06:46:33 GMT) |
X-Complaints-To: | usenet-abuse AT mtu DOT ru |
NNTP-Posting-Date: | 19 May 2000 06:46:33 GMT |
X-Mailer: | Mozilla 4.72 [en] (Win95; I) |
X-Accept-Language: | ru,en |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
Better keep a track of allocation info. C doesn't have functions returning size of previously allocated blocks. Good Luck Alexei A. Frounze ----------------------------------------- Homepage: http://alexfru.chat.ru Mirror: http://members.xoom.com/alexfru Burgupalli Chaitanya wrote: > > Hi all, > > I am sorry if my question are too silly. I am absolute novice at > programming in C and that is the reason for the question. > > Problem: > 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. > > I hope you would all bear with me during my first steps in C. Thank You > > Chaitanya B
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |