I have some part of the code written down and for the project requirement i need have at least 4 user defined function, loop, array (vector), enumeration and file i/o.

//***************************************************************
// HEADER FILE USED IN PROJECT
//****************************************************************

#include<iostream>
#include<fstream>
#include<cctype>
#include<iomanip>
using namespace std;

//***************************************************************
// CLASS USED IN PROJECT
//****************************************************************

class staff
{
int staff_Num;
char name[50];
int salary;
char type;
public:
void input_newStaff(); //function to get data from user
void show_allStaff() const; //function to show data on screen
void modify(); //function to add new datat
void report() const; //function to show data in tabular format
int retstaff_Num() const; //function to return account number
char retstaff_type() const; //function to return type of account
}; //class ends here

void staff::input_newStaff()
{
cout<<"\nEnter the staff number : ";
cin>>staff_Num;
cout<<"\n\nEnter The name of the new staff : ";
cin.ignore();
cin.getline(name,50);
cout<<"\nEnter the type of staff(F/P) : ";
cout<<"F = Full-Time, P = Part-Time";
cin>>type;
type=toupper(type);
cout<<"\nEnter the staff salary : ";
cin>>salary;
cout<<"\n\n\nStaff Created..";
}

void staff:how_allStaff() const
{
cout<<"\nStaff No. : "<<staff_Num;
cout<<"\nStaff Name : ";
cout<<name;
cout<<"\nType of staff : "<<type;
cout<<"\nSalary amount : "<<salary;
}


void staff::modify()
{
cout<<"\nStaff No. : "<<staff_Num;
cout<<"\nModify Staff Name : ";
cin.ignore();
cin.getline(name,50);
cout<<"\nModify staff type : ";
cin>>type;
type=toupper(type);
cout<<"\nModify salary amount : ";
cin>>salary;
}

void staff::report() const
{
cout<<setw(4)<<setfill('0')<<staff_Num;
cout<<setw(6)<<setfill(' ');
cout<<" "<<setw(25)<<setfill(' ')<<left<<name;
cout<<setw(13)<<type;
cout<<'$'<<setw(6)<<right<<salary<<endl;
}

int staff::retstaff_Num() const
{
return staff_Num;
}

char staff::retstaff_type() const
{
return type;
}


//***************************************************************
// function declaration
//****************************************************************
void create_newStaff(); //function to write record in binary file
void display_sp(int); //function to display account details given by user
void modify_staff(int); //function to modify record of file
void delete_staff(int); //function to delete record of file
void display_all(); //function to display all account details
void intro(); //introductory screen function

//***************************************************************
// THE MAIN FUNCTION OF PROGRAM
//****************************************************************

int main()
{
char ch;
int num;
intro();
do
{
system("cls");
cout<<"\n\n\n\tMAIN MENU";
cout<<"\n\n\t01. New Staff";
cout<<"\n\n\t02. View All Staff List";
cout<<"\n\n\t03. Delete a Staff";
cout<<"\n\n\t04. Modify a staff";
cout<<"\n\n\t05. EXIT";
cout<<"\n\n\tSelect Your Option (1-5) ";
cin>>ch;
system("cls");
switch(ch)
{
case '1':
create_newStaff();
break;
case '2':
display_all();
break;
case '3':
cout<<"\n\n\tEnter The account No. : "; cin>>num;
delete_staff(num);
break;
case '4':
cout<<"\n\n\tEnter The account No. : "; cin>>num;
modify_staff(num);
break;
case '5':
cout<<"\n\n\tThanks for using staff managemnt system";
break;
default :cout<<"Sorry. I can't understand what you typing. Please enter a number from 1-5.";
cout<<"Please press enter again to back to the main menu.";
}
cin.ignore();
cin.get();
}while(ch!='5');
return 0;
}




//***************************************************************
// function to write in file
//****************************************************************

void create_newStaff()
{
staff st;
ofstream outFile;
outFile.open("staff.dat",ios::binary|ios::app);
st.input_newStaff();
outFile.write(reinterpret_cast<char *> (&st), sizeof(staff));
outFile.close();
}

//***************************************************************
// function to read specific record from file
//****************************************************************

void display_sp(int n)
{
staff st;
bool flag=false;
ifstream inFile;
inFile.open("staff.dat",ios::binary);
if(!inFile)
{
cout<<"File could not be open !! Press any Key...";
return;
}
cout<<"\nSTAFF DETAILS\n";
while(inFile.read(reinterpret_cast<char *> (&st), sizeof(staff)))
{
if(st.retstaff_Num()==n)
{
st.show_allStaff();
flag=true;
}
}
inFile.close();
if(flag==false)
cout<<"\n\nStaff number does not exist";
}


//***************************************************************
// function to modify record of file
//****************************************************************

void modify_staff(int n)
{
bool found=false;
staff st;
fstream File;
File.open("staff.dat",ios::binary|ios::in|ios::out);
if(!File)
{
cout<<"File could not be open !! Press any Key...";
return;
}
while(!File.eof() && found==false)
{
File.read(reinterpret_cast<char *> (&st), sizeof(staff));
if(st.retstaff_Num()==n)
{
st.show_allStaff();
cout<<"\n\nEnter new information about staff"<<endl;
st.modify();
int pos=(-1)*static_cast<int>(sizeof(staff));
File.seekp(pos,ios::cur);
File.write(reinterpret_cast<char *> (&st), sizeof(staff));
cout<<"\n\n\t Record Updated";
found=true;
}
}
File.close();
if(found==false)
cout<<"\n\n Record Not Found ";
}

//***************************************************************
// function to delete record of file
//****************************************************************


void delete_staff(int n)
{
staff st;
ifstream inFile;
ofstream outFile;
inFile.open("staff.dat",ios::binary);
if(!inFile)
{
cout<<"File could not be open !! Press any Key...";
return;
}
outFile.open("Temp.dat",ios::binary);
inFile.seekg(0,ios::beg);
while(inFile.read(reinterpret_cast<char *> (&st), sizeof(staff)))
{
if(st.retstaff_Num()!=n)
{
outFile.write(reinterpret_cast<char *> (&st), sizeof(staff));
}
}
inFile.close();
outFile.close();
remove("staff.dat");
rename("Temp.dat","staff.dat");
cout<<"\n\n\tRecord Deleted ..";
}

//***************************************************************
// function to display all accounts deposit list
//****************************************************************

void display_all()
{
staff st;
ifstream inFile;
inFile.open("staff.dat",ios::binary);
if(!inFile)
{
cout<<"File could not be open !! Press any Key...";
return;
}
cout<<"\n\n\t\tStaff LIST\n\n";
cout<<"=========================================================\n";
cout<<"Staffno. NAME Staff Type Salary \n";
cout<<"=========================================================\n";
while(inFile.read(reinterpret_cast<char *> (&st), sizeof(staff)))
{
st.report();
}
inFile.close();
}

//***************************************************************
// INTRODUCTION FUNCTION
//****************************************************************

void intro()
{
cout<<"\n\n\n\t STAFF";
cout<<"\n\n\tMANAGEMENT";
cout<<"\n\n\t SYSTEM";
cout<<"\n\n\n\nMADE BY : Cheuk Kwan Chan";
cout<<"\n\tLina Luo";
cout<<"\n\nClass : CIS 3100";
cin.get();
}

//***************************************************************
// END OF PROJECT
//***************************************************************

This basically what i have right now. So could you guys be kindly add enumeration and array (vector) into this program!!!
Thank you so much!!project.rar