Mail Archives: djgpp/2000/05/19/05:43:47
In article <39249FAE DOT F0428E1F AT fujixerox DOT co DOT jp> you wrote:
> 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.
None that would be reliable. If you think you need that information,
you'll have to keep track of it yourself.
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. Don't try to use 'fancy' things until you understand
the language well enough to be sure you need them.
--
Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de)
Even if all the snow were burnt, ashes would remain.
- Raw text -