ballpointpenthief said:
> If I have malloc()'ed a pointer and want to read from it as if it were
> an array, I need to know that I won't be reading past the last index.
When you allocate the memory, you know precisely how much memory you are
requesting.
Don't Forget (tm).
--
Richard Heathfield
"Usenet is a strange place" - dmr 29/7/1999
http://www.cpax.org.uk
email: rjh at above domain (but drop the www, obviously)