public: User(string user, string pass, string r) : username(user), password(pass), role(r) {} bool login(string user, string pass) { if (username == user && password ...