double inf = (double)INT_MAX, n1, n2; printf("%s\n", str); sscanf(str, "%lf %c %lf", &n1, &ch, &n2); if (n1 > inf) printf("first number too ...
確定! 回上一頁