while (!inFile.eof()) {
getline ( inFile, city, ',' );
getline ( inFile, country, ',' );
getline ( inFile, lat, ',' );
inFile >> lon;
cout << "City: " << city << endl;
cout << "Country: " << country << endl;
cout << "Lat: " << lat << endl;
cout << "Lon: " << lon << endl;
}