问题 I am trying to parse a simple CSV file, with data in a format such as: 20.5,20.5,20.5,0.794145,4.05286,0.792519,1 20.5,30.5,20.5,0.753669,3.91888,0.749897,1 20.5,40.5,20.5,0.701055,3.80348,0.695326,1 So, a very simple and fixed format file. I am storing each column of this data into a STL vector. As such I've tried to stay the C++ way using the standard library, and my implementation within a loop looks something like: string field; getline(file,line); stringstream ssline(line); getline(