void School::displayAllAcc(int choice) {
fstream checkDatabase;
vector <AccDetails> accInfo;
AccDetails user;
switch(choice) {
case 1:
checkDatabase.open("StudentDatabase.txt");
break;
case 2:
checkDatabase.open("LecturerDatabase.txt");
break;
}
string line = "";
if (checkDatabase.is_open()) {
checkDatabase.seekp(0,ios::end);
size_t size = checkDatabase.tellg();
checkDatabase.seekp(0,ios::beg);
if (size == 0)
cout << "Empty file!" << endl;
else {
showHeader(cout,choice);
while (getline(checkDatabase,line)) {