string str; double val1, val2; if (sscanf(str.c_str(), "(%lf,%lf)", &val1, &val2) == 2) { // got them! }.
確定! 回上一頁