> another thing is a C Q:
> if i define a string with the long 0f 8, ( char[8]) doesn't it mean that
> i have 9 cells ( from 0 to 8)? and doesn't it mean that i don't need to
> add 1 tfor Null because it actualy has one more cell?
8 = 8 positions. in C, the following applies:
[n], indexes are 0..(n-1)
in addition, if you are expecting to store strings in an array, keep
in mind you should also allocate one more character to put the '\0'
character on the end of the string (NULL termination char). otherwise,
strange things can happen :))
cheers
// az
[EMAIL PROTECTED]
http://www.ardiri.com/ <--- free games!
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/