From: Hans-Bernhard Broeker Newsgroups: comp.os.msdos.djgpp Subject: Re: allocated memory size Date: 19 May 2000 11:05:48 GMT Organization: Aachen University of Technology (RWTH) Lines: 16 Message-ID: <8g376c$d6o$1@nets3.rz.RWTH-Aachen.DE> References: <200005190942 DOT LAA19117 AT acp3bf DOT physik DOT rwth-aachen DOT de> <8g36km$r9d$1 AT plato DOT wadham DOT ox DOT ac DOT uk> NNTP-Posting-Host: acp3bf.physik.rwth-aachen.de X-Trace: nets3.rz.RWTH-Aachen.DE 958734348 13528 137.226.32.75 (19 May 2000 11:05:48 GMT) X-Complaints-To: abuse AT rwth-aachen DOT de NNTP-Posting-Date: 19 May 2000 11:05:48 GMT Originator: broeker@ To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com J-P wrote: > In article <200005190942 DOT LAA19117 AT acp3bf DOT physik DOT rwth-aachen DOT de>, > Hans-Bernhard Broeker wrote: >>Especially since you describe yourself as a C novice, you should >>*never* do such things. Stick to the core of the language while you're >>still learning. > Pointers *are* the core of the language. I did not advise against the use of pointers. It was the original poster's quest for some magical method of find the size of a memory block by looking at a pointer to it I was telling him to stop thinking about. -- Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de) Even if all the snow were burnt, ashes would remain.