Quote:
Originally Posted by kruptof
Have the callee pass the size to you or loop through all the elements incrementing a variable as you go, until you reach a null (\0)
|
That won't work in my occasion, since the \0 character only goes at the end of a string. And I also think that wether an out-of-bounds bound location is null or not depends on the implementation. Anyway, seems from your thread that there isn't a way to do that.