Hi again,
I've tried what swoopy has suggested, but I'm still getting the same problem (the pointer in the original function doesn't move).
I've done something like this:
Code:
int funB(**char p)
{
char *c;
c=*p;
c++;
fprintf(stderr,"after moving the pointer *c is: %c\n",*c);
return 1;
}
int funA()
{
int number;
char *c;
fprintf(stderr,"*c is: %c\n",*c);
number=funB(&c);
fprintf(stderr,"after calling funB *c is: %c\n",*c);
}
I'm pretty sure this is what i've done...
This doesn't work for me, is it suppose to? Or is something wrong with it?
THANKS AGAIN!
Liat.