On March 16, 2006 12:28 pm, Jose Da Silva wrote:
I forgot a line:
char x[12] = "Hello world\0";
char *ptr;
ptr = x;
while (*ptr) {printf("%c",*ptr); ++ptr;};
> If you figure out the right sizeof(???) value to use, then I think it
> could be submitted as a bug-fix for \src\table.c
You want to move the pointer from azResult[1] to azResult[0] but you
want to say it without doing it like this "azResult--;" on line 192,
but saying it like this looks sort of ugly although it might work:
azResult -= ( &azResult[1] - &azResult[0] );
...so if someone has a simpler solution, thanks :-)