[OCLUG-devel] sizeof an array of pointers
Doug Jolley
ddjolley at gmail.com
Sun Jun 19 20:20:11 PDT 2005
> Normally libraries like this address
> the issue either by terminating the array with a null pointer or have a
> second argument somewhere that specifies the length of the array. I'd
> check the docs on the library.
The library does terminate the array with a null pointer. So, are you
saying that the way to go is to just loop through the array and count
the elements? I don't have any problem with that. I just thought
that if there were a better way, I'd rather use it.
Thanks, Chris, for the input.
... doug
--
(Not digitally signed.)
More information about the OCLUG-devel
mailing list