size_t index ;double result = 0;char buf[] = "";fgets(buf,buf_len,stdin);char *endptr =NULL;那么result = strtod(buf+index,&endptr);index = endptr - buf;index index = 0;
精慕HU
汪汪一只猫
相关分类