Feb 5, 2006 #1 escafia Programmer Feb 4, 2006 2 PT hi. i've a question. char *strsep(char **stringp, const char *delim); what means char **stringp ?? Is it a pointer to a string? if i do: char lol[128]; strsep(&lol, "."); is it correct? tkx
hi. i've a question. char *strsep(char **stringp, const char *delim); what means char **stringp ?? Is it a pointer to a string? if i do: char lol[128]; strsep(&lol, "."); is it correct? tkx
Feb 5, 2006 #2 cpjust Programmer Sep 23, 2003 2,132 US type* x; is a pointer to x. type** x; is a pointer to a pointer to x. Your syntax might work on some compilers, but not on mine. You can do this to get it to work: Code: char lol[128]; char* pLol = lol; // set lol to some string. strsep( &pLol, "." ); Upvote 0 Downvote
type* x; is a pointer to x. type** x; is a pointer to a pointer to x. Your syntax might work on some compilers, but not on mine. You can do this to get it to work: Code: char lol[128]; char* pLol = lol; // set lol to some string. strsep( &pLol, "." );