Reading File line by line · while (std::getline(in, str)) · { · // Line contains string of length > 0 then save it in vector · if(str.size() > 0) · push_back(str);.
確定! 回上一頁