//#include #include "User.h" using namespace std; vector users; // struct loginCredentials // { // string name; // string password; // loginCredentials(string n, string p) // { // name = n; // password = p; // } // }; void yourAccount() { cout<<"*********************************"<>n; cout<<"\nPassword: "<>pass; cout<<"\nPhone: "<>phone; cout<<"\nFax: "<>fax; cout<<"Postal code: "<>postal; createNewAccount(n,pass,phone,fax,postal,false); cout<<"account successfully created!"<>name; cin.clear(); cin.ignore(); cout<<"\nPassword: "<>password; cin.clear(); cin.ignore(); if (verifyCredentials(name,password)) { break; } else { cout<<"Invalid credentials!"<>choice; eventHandler(choice); } }