View Single Post
Old Sep 2nd, 2007, 5:50 PM   #3
Soulstorm
Hobbyist Programmer
 
Soulstorm's Avatar
 
Join Date: Jan 2006
Location: Menidi, Athens, Greece
Posts: 239
Rep Power: 3 Soulstorm is on a distinguished road
Quote:
Originally Posted by kruptof View Post
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.
__________________
Project::Soulstorm (personal homepage)
Soulstorm is offline   Reply With Quote