Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void User::GetData()
- {
- ifstream dump;
- string path = "Users\\";
- path += this->GetLogin() + ".txt";
- dump.open(path, ios::in);
- dump >> this->Login;
- dump >> this->Password;
- dump >> this->FirstName;
- dump >> this->Surname;
- dump >> this->LastName;
- dump >> this->Address;
- dump >> this->CellNumber;
- dump >> this->Email;
- dump >> this->Role;
- dump >> this->TotalAmount;
- dump.close();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement