istringstream iss(line);
    int n = 0;
    while (!(iss >> dat[n]).fail())
        n++;

 

相关文章: