KsiazkaAdresowa/main.cpp
// reading/writing to file users
reading/writing to file users
reading / writing to file users
void readFromFile_users(fstream &file, vector<User> &users) {
    string line;
    while(getline(file,line)) {
        users.push_back( getUserFromString(line,'|') );
    }
}
void readFromFile_users ( fstream & file , vector < User > & users ) { string line ; while ( getline ( file , line ) ) { users . push_back ( getUserFromString ( line , ' ' ) ) ; } }
reading/writing to file users
reading / writing to file users