On Mon, May 19, 2008 at 02:59:16PM +0100, FX wrote:
>   return (unsigned char *) "look\0here\0";
> 
> 
> Notice the added final '\0' in the C case; I don't know if it's bad to
> have it there, but I don't see a way to not output it and still have
> the correct output for Fortran (whose strings are not NUL-terminated).

Yes, it is bad to have it there for C/C++, please make sure the final
\0 isn't printed.

        Jakub

Reply via email to