From definition double strtod ( const char * str, char ** endptr );
C reference sites provide an example for that mighty function:
char szOrbits[] = "365.24 29.53";
char * pEnd;
double d1, d2;
d1 = strtod (szOrbits,&pEnd);
d2 = strtod (pEnd,NULL);
If endptr
should be of type char **
why is char *pEnd
used here ? And not char **pEnd
?