> From: HowY
>
>  Char mantissaStr[10]="\0\0\0\0\0\0\0\0\0\0";
>  Char dispMantissaStr[10]="\0\0\0\0\0\0\0\0\0\0";
>

HowY,

I don't know about GCC, but with CW the above statements are not correct.
You allocate 10 bytes for each string, then assign 21 bytes to each.  '\0'
is the char which == 0.  "\0" is an array of 3 chars, '\', '0', and '\0'.


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to