0_0_25524469_10573.cpp: In function 'double num()': 0_0_25524469_10573.cpp:23:36: error: 'strchr' was not declared in this scope else if(strchr("0123456789.+-", *p)) res = strtod(p, &p); ^