The format of your file seems to imply that the name of the city ends at the end of a line, not a space.
You can read that form using getline
char city[100];
int x , y;
f.open("map.txt");
while ( f ) {
f >> x >> y;
f.getline(city, 100);
}
f.close();