Getting an error when using three parameters with getline().
the first is my text file, second is city in table from struc, and third is the delimeter.
ex:
getline(infile, allCities[count].city, ',');
error:
error C2780: 'std::basic_istream<_Elem,_Traits> &std::getline(std::basic_istream<_Elem,_Traits> &,std::basic_string<_Elem,_Traits,_Alloc> &)' : expects 2 arguments - 3 provided