Hello I have a problem with separating input data from the file. I want it to be separated with some kind of delimiter instead of space. Data in file are represented like this:
street;num
street;num
...
Adress structure:
struct adress
{
std::string street;
int num;
};
std::istream &operator>> (std::istream &in, adress &adr)
{
in>>adr.street >>adr.num;
return in;
}