C ++字串擷取int i;string t[10];string x;getline(cin,x,"\n");for(i=0;i<10;i++){ size_t a = x.find (",") ; t[i] = x.substr (k,a) ; k = a+1 ...
確定! 回上一頁