I hsve developed this code I am having trouble with the Account manager to perform the task it meant to do when i put N for New customer it exits the program and i shouldnt can anyone hepl me with this problem

#include <iostream>
#include <string>
#include <cmath>
#include <time.h>

using namespace std;
 
 int menuvalue;
 int isDone;
 string Name;
 int Age;
 long PostCode;
 string Address;
 string dob;
 string telnum;
 int Money;
 int Deposits;
 int Withdraw;
 int Transfer;
 
 int uinput;
 char dateStr [9];
 char timeStr [9];

 float LOAN_AMOUNT=0; 
 float INT_RATE=0;
 int TERM_YEARS=0;	 
 char quit;		
 float RATE;					 
 float monthlyInterestRate;	 
 int length_in_months = 12;	 
 int numberOfPayments;		 
 float monthlyPaymentAmt;	 
 int monthly_payments_counter;
 float loanBalance;			 
 float monthlyIntPymt;		 
 int divide_list = 0;		 
 char list_more;				 
 float monthlyPrincipalPymt;	 

int main()
{
   cout << "1. Go to Mortage Calc\n";
   cout << "2. Go to Account Manager\n";
   cout << "3. Exit\n";
   cin >> menuvalue;

if (menuvalue == 1)
{
 cout << "Welcome to Mortgage Calulator\n";	
  	do
	{
		
        //output message asking for loan amt
		cout<<"Input the total loan amount:\n";

		//input data
		cin>>LOAN_AMOUNT;

		//output message asking for interest rate
		cout<<"Input the annual interest rate:\n";

		//input data
		cin>>INT_RATE;
				
		//output message asking for term in years of loan
		cout<<"Input the length of the loan in years:\n";

		//input data
		cin>>TERM_YEARS;


		//CALCULATIONS
		//rate in decimal format
		RATE = INT_RATE / 100; 

		//number of payments
		numberOfPayments = TERM_YEARS * length_in_months; 
		
		//monthly interest rate
		monthlyInterestRate = RATE / length_in_months; 

		//monthly payments
		monthlyPaymentAmt = (LOAN_AMOUNT*
			pow(monthlyInterestRate + 1, numberOfPayments)
			* monthlyInterestRate)/(pow(monthlyInterestRate + 1, 
			numberOfPayments) - 1); //pow returns x raised to the power of y

		//output results
		//cout<<fixed<<setprecision(2)//cout writes text to the screen
		
		cout<<"Your monthly payment for "
			<<TERM_YEARS <<" years\n";
		cout<<"for an Interest Rate of "
			<<INT_RATE <<"%\n"; 
		cout<<"on a Loan Amount of $"
			<<LOAN_AMOUNT <<" is $"<<monthlyPaymentAmt<<" a month\n";
		cout<<"\n";
		cout<<"Payment Number\tLoan Balance\tInterest Paid\n";
		cout<<"--------------\t------------\t-------------\n";

		//List the payment number, loan balance, and interest paid 
		//for each period
		for (monthly_payments_counter=1; monthly_payments_counter<=numberOfPayments; ++monthly_payments_counter)
		{	
			
			monthlyIntPymt = loanBalance * monthlyInterestRate;
			monthlyPrincipalPymt = monthlyPaymentAmt - (loanBalance * INT_RATE);
			loanBalance = loanBalance - monthlyPrincipalPymt;
			
			//displays a partial list and allows the user either continue viewing 
			//the list, enter a new loan, or exit the program
			if (divide_list == 12)
			{
				cout <<"Type 'c' to continue viewing the list, "
					 <<"'n' to enter a new loan, or 'e' to exit: ";
				cin >> list_more;

				if ((list_more == 'c') || (list_more == 'C'))
					divide_list = 0;
				else if ((list_more == 'n') || (list_more == 'N'))
					break;
				else if ((list_more == 'e') || (list_more == 'E'))
					return 0;
			}
			
			//displays the results on the screen for each payment number
			cout<<monthly_payments_counter<<"\t\t"
			<<loanBalance<<"\t"
			<<monthlyIntPymt<<"\t\t\n";
			++divide_list;
		}
			
		//user can continue in a loop or quit
		//output
		cout<<"\n";
		cout<<"Enter C to continue, Q to quit >";

		//user input
		cin>>quit;
		cout<<"\n";

	}
	while (((quit!= 'q') && (quit!= 'Q')) || ((quit == 'c') && (quit == 'C')));

	cout<<"Thanks for using the calculator!\n";	
}

if (menuvalue == 2)
  {
     cout << "Welcome to Account Manager\n";

			 cout << "\nN to Create a new account";
        	 cout << "\nD to Deposit";
			 cout << "\nV to View Account Information";
			 cout << "\nL to List All Accounts";
			 cout << "\nW to Withdraw";
			 cout << "\nE to Exit\n";
        	 cin >> uinput;

				if(uinput == 'N' || uinput == 'n') 
							{
                		    	cout << "Please Enter Customers Full Name ";
								cin >> Name;
								cout << "Please Enter Customers Age ";
								cin >> Age;
								cout << "Please Enter Customers Date of Birth ";
								cin >> dob;
								cout << "Please Enter Customers First Line of Address ";
								cin >> Address;
								cout << "Please Enter Customers Post Code ";
								cin >> PostCode;
								cout << "Please Enter Customers Telephone Number ";
								cin >> telnum;
                            }

         if (uinput== 'D' || uinput == 'd') 
                      {
            			int aDep;
            			cout << "\nEnter a deposit amount: $";
            			cin >> aDep;
            			Money = Money + aDep;
            			Transfer = Transfer + aDep;
            			Deposits = Deposits + 1;
            			cout << "\nAmount Deposited: $" << aDep;
            			cout << "\nBalance: $" << Money; 
            			//PrintSpace();
            		}


                		if(uinput == 'W' || uinput == 'w') 
						{
                			int aWith;
                			cout << "Enter a withdrawl amount: $";
                			cin >> aWith;
                			//check amounts
                			if (aWith > Money) 
							{ 
                				cout << "Sorry, your account only has $" << Money << " dollars\n";
                				//PrintSpace();
                			}
                    			else 
								{
                    				Money = Money - aWith;
                    				Transfer = Transfer - aWith;
                    				cout << "Amount Withdrawn: $" << aWith << "\n";
                    				Withdraw = Withdraw + 1;
                    				cout << "Balance: $" << Money << "\n";
                    			//PrintSpace();
                    			}
                    		}
                       		if (uinput =='V' || uinput=='v') 
							{
                        			Transfer = Deposits + Withdraw;
                        			cout << "\n\n***Account Information***";
                        			cout << "\nTotal Balance: $" << Money;
                        			cout << "\nTotal Transactions: " << Transfer;
                                    _strdate(dateStr);
                                    cout << "The date of transaction is is %s " << dateStr;
                                    _strtime(timeStr);
                                    cout << "The time of Transation is %s " << timeStr;
                        			cout << "\nTotal Deposits: " << Deposits;
                        			cout << "\nTotal Withdrawls: " << Withdraw;
                        			//PrintSpace();
                        		}

                                    if(uinput == 'L' || uinput == 'l') 
                                       {
										   cout << "List displayed below of all account assoiated with Agroup Bank";
                                           	cout << "Customers Name: " << Name;
											cout << "Customers Age: " << Age;
											cout << "Customers Date of Birth: " << dob;
											cout << "Customers Address: " << Address;
											cout << "Customers Post Code " << PostCode;
											cout << "Customers Telelphne Number: " << telnum;
                                  
									   }

                            		if (uinput=='E' || uinput=='e') 
									{
                            			isDone = 1;
                            			//PrintSpace();
                            		}


             if (menuvalue == 3)
              {
				exit(0);
              }
			 return 0;
}
};

uinput is defined as an integer / and 'N' is not.
(actually, N is converted to an integer but as its ascii value)

Adding some structure to this would greatly help. Use some functions etc.
Separate the question/answer from the actual processing. That also allows you to write tests easily. Since you are using C++, you could even think about a class or two.

I have take the code a made one Bank.cpp file it works but there are warning coming up how can i get ris of the warnings

#include <iostream>
#include <algorithm>
#include <string.h>
#include <vector>
#include <iostream>
#include <fstream>
#include <string>
#include <sstream>
#include <time.h>

using namespace std;

int mainmenu(int value1);
int addmenu(int value2);
int cardmenu(int value3);
int adminmenu(int value4);
class Customer
{
	public:
			int  Customerid;
			char FName[30];
			char LName[30];
			int  Age;
			char Address1[100];			
			char Address2[100];			
			char Postcode[30];
			char Contact[10];
	public: 
			Customer(int ptrCustomerid, char *ptrFName,char *ptrLName,int ptrAge,char *ptrAddress1,char *ptrAddress2,char *ptrPostcode,char *ptrContact)
			{
				Customerid = ptrCustomerid;
				strcpy_s(FName,ptrFName);
				strcpy_s(LName,ptrLName);
				Age = ptrAge;
				strcpy(Address1,ptrAddress1);
				strcpy(Address2,ptrAddress2);
				strcpy(Postcode,ptrPostcode);
				strcpy(Contact,ptrContact);
			}
	void Display(void)
			{
				cout<<"Customer ID		:  "<<Customerid<<endl;
				cout<<"First	Name    :  "<<FName<<endl;
				cout<<"Last		Name    :  "<<LName<<endl;
				cout<<"Age				:  "<<Age<<endl;
				cout<<"Address 1		:  "<<Address1<<endl;
				cout<<"Address 2		:  "<<Address2<<endl;
				cout<<"Postcode			:  "<<Postcode<<endl;
				cout<<"Contact Number	:  "<<Contact<<endl;
				cout<<"___________________________"<<endl;
				cout<<"  "<<endl;
			}
	};



class CurrentAccount
{
	public:
			int  CurrentAccountid;
			int  Customerid;
			char CurrentAccount_open_date[100];					
			char CurrentAccount_Last_date[100];			
			int Balance;
			int overdraft;
	public: 
			CurrentAccount(int ptrCurrentAccountid,int ptrCustomerid,char *ptrCurrentAccount_open_date,char *ptrCurrentAccount_Last_date,int ptrBalance)
			{
				CurrentAccountid = ptrCurrentAccountid;
				Customerid = ptrCustomerid;
				strcpy(CurrentAccount_open_date, ptrCurrentAccount_open_date);
				strcpy(CurrentAccount_Last_date, ptrCurrentAccount_Last_date);
				overdraft=300;
				Balance = ptrBalance+overdraft;
			}
	void Display(void)
			{
				cout<<"Current Account Number	  	:  "<<CurrentAccountid<<endl;
				cout<<"Customer Number    			:  "<<Customerid<<endl;
				cout<<"Current Account Opend ON   	:  "<<CurrentAccount_open_date<<endl;
				cout<<"Last Transaction ON			:  "<<CurrentAccount_Last_date<<endl;
				cout<<"Balance            			:  "<<Balance<<endl;
				cout<<"______________________________________________________________"<<endl;
				cout<<"  "<<endl;
			}
	};
class SavingAccount
{
	public:
			int  SavingAccountid;
			int  Customerid;
			char SavingAccount_open_date[100];					
			char SavingAccount_Last_date[100];			
			int Balance;
			int overdraft;
	public: 
			SavingAccount(int ptrSavingAccountid,int ptrCustomerid,char *ptrSavingAccount_open_date,char *ptrSavingAccount_Last_date,int ptrBalance)
			{
				SavingAccountid = ptrSavingAccountid;
				Customerid = ptrCustomerid;
				strcpy(SavingAccount_open_date, ptrSavingAccount_open_date);
				strcpy(SavingAccount_Last_date, ptrSavingAccount_Last_date);
				overdraft=1000;
				Balance = ptrBalance+overdraft;
			}
	void Display(void)
			{
				cout<<"Saving Account Number	  	:  "<<SavingAccountid<<endl;
				cout<<"Customer Number    			:  "<<Customerid<<endl;
				cout<<"Saving	Account Opend ON   	:  "<<SavingAccount_open_date<<endl;
				cout<<"Last Transaction ON			:  "<<SavingAccount_Last_date<<endl;
				cout<<"Balance            			:  "<<Balance<<endl;
				cout<<"______________________________________________________________"<<endl;
				cout<<"  "<<endl;
			}
	};
class CorporateSaving
{
	public:
			int  CorporateSavingid;
			int  Customerid;
			char CorporateSaving_open_date[100];					
			char CorporateSaving_Last_date[100];			
			int Balance;
			int overdraft;
	public: 
			CorporateSaving(int ptrCorporateSavingid,int ptrCustomerid,char *ptrCorporateSaving_open_date,char *ptrCorporateSaving_Last_date,int ptrBalance)
			{
				CorporateSavingid = ptrCorporateSavingid;
				Customerid = ptrCustomerid;
				strcpy(CorporateSaving_open_date, ptrCorporateSaving_open_date);
				strcpy(CorporateSaving_Last_date, ptrCorporateSaving_Last_date);
				overdraft=5000;
				Balance = ptrBalance+overdraft;
			}
	void Display(void)
			{
				cout<<"Corporate Account Number	  	:  "<<CorporateSavingid<<endl;
				cout<<"Customer Number    			:  "<<Customerid<<endl;
				cout<<"Corporate Saving Opend ON   	:  "<<CorporateSaving_open_date<<endl;
				cout<<"Last Transaction ON			:  "<<CorporateSaving_Last_date<<endl;
				cout<<"Balance            			:  "<<Balance<<endl;
				cout<<"______________________________________________________________"<<endl;
				cout<<"  "<<endl;
			}
	};
class StudentSaving
{
	public:
			int  StudentSavingid;
			int  Customerid;
			char StudentSaving_open_date[100];					
			char StudentSaving_Last_date[100];			
			int Balance;
			int overdraft;
	public: 
			StudentSaving(int ptrStudentSavingid,int ptrCustomerid,char *ptrStudentSaving_open_date,char *ptrStudentSaving_Last_date,int ptrBalance)
			{
				StudentSavingid = ptrStudentSavingid;
				Customerid = ptrCustomerid;
				strcpy(StudentSaving_open_date, ptrStudentSaving_open_date);
				strcpy(StudentSaving_Last_date, ptrStudentSaving_Last_date);
				overdraft=700;
				Balance = ptrBalance+overdraft;
			}
	void Display(void)
			{
				cout<<"Student Account Number	  	:  "<<StudentSavingid<<endl;
				cout<<"Customer Number				:  "<<Customerid<<endl;
				cout<<"Student Saving Opend ON   	:  "<<StudentSaving_open_date<<endl;
				cout<<"Last Transaction ON			:  "<<StudentSaving_Last_date<<endl;
				cout<<"Balance            			:  "<<Balance<<endl;
				cout<<"______________________________________________________________"<<endl;
				cout<<"  "<<endl;
			}
	};

//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

class PersonalLoan
{
	public:
			int PersonalLoanid;
			int  Customerid;
			char PersonalLoan_open_date[100];					
			char PersonalLoan_Last_date[100];			
			int Balance;
	public: 
			PersonalLoan(int ptrPersonalLoanid, int ptrCustomerid, char *ptrPersonalLoan_open_date,char *ptrPersonalLoan_Last_date,int ptrBalance)
			{
				PersonalLoanid=ptrPersonalLoanid;
				Customerid = ptrCustomerid;
				strcpy(PersonalLoan_open_date, ptrPersonalLoan_open_date);
				strcpy(PersonalLoan_Last_date, ptrPersonalLoan_Last_date);
				Balance = ptrBalance;
			}
	void Display(void)
			{
				cout<<"Personal Loan Number			:  "<<PersonalLoanid<<endl;
				cout<<"Customer Number				:  "<<Customerid<<endl;
				cout<<"Personal Loaned On		    :  "<<PersonalLoan_open_date<<endl;
				cout<<"Personal Loan End On			:  "<<PersonalLoan_Last_date<<endl;
				cout<<"Personal Loan Ammount		:  "<<Balance<<endl;
				cout<<"_________________________________________________"<<endl;
				cout<<"  "<<endl;
			}
	};
class CorporateLoan
{
	public:
			int CorporateLoanid;
			int  Customerid;
			char CorporateLoan_open_date[100];					
			char CorporateLoan_Last_date[100];			
			int Balance;
	public: 
			CorporateLoan(int ptrCorporateLoanid, int ptrCustomerid, char *ptrCorporateLoan_open_date,char *ptrCorporateLoan_Last_date,int ptrBalance)
			{
				CorporateLoanid=ptrCorporateLoanid;
				Customerid = ptrCustomerid;
				strcpy(CorporateLoan_open_date, ptrCorporateLoan_open_date);
				strcpy(CorporateLoan_Last_date, ptrCorporateLoan_Last_date);
				Balance = ptrBalance;
			}
	void Display(void)
			{
				cout<<"Corporate Loan Number			:  "<<CorporateLoanid<<endl;
				cout<<"Customer Number					:  "<<Customerid<<endl;
				cout<<"Corporate Loaned On			    :  "<<CorporateLoan_open_date<<endl;
				cout<<"Corporate Loan End On			:  "<<CorporateLoan_Last_date<<endl;
				cout<<"Corporate Loan Ammount			:  "<<Balance<<endl;
				cout<<"_________________________________________________"<<endl;
				cout<<"  "<<endl;
			}
	};

//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

class Mortgage
{
	public:
			int Mortgageid;
			int  Customerid;
			char Mortgage_open_date[100];					
			char Mortgage_Last_date[100];			
			int Balance;
	public: 
			Mortgage(int ptrMortgageid, int ptrCustomerid, char *ptrMortgage_open_date,char *ptrMortgage_Last_date,int ptrBalance)
			{
				Mortgageid=ptrMortgageid;
				Customerid = ptrCustomerid;
				strcpy(Mortgage_open_date, ptrMortgage_open_date);
				strcpy(Mortgage_Last_date, ptrMortgage_Last_date);
				Balance = ptrBalance;
			}
	void Display(void)
			{
				cout<<"Mortgage Loan Number			:  "<<Mortgageid<<endl;
				cout<<"Customer Number				:  "<<Customerid<<endl;
				cout<<"Mortgage Loaned On		    :  "<<Mortgage_open_date<<endl;
				cout<<"Mortgage Loan End On			:  "<<Mortgage_Last_date<<endl;
				cout<<"Mortgage Loan Ammount		:  "<<Balance<<endl;
				cout<<"_________________________________________________"<<endl;
				cout<<"  "<<endl;
			}
	};
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
class CreditCard
{
	public:
			int CreditCardid;
			int Customerid;
			int Accountid;
			char CreditCard_open_date[100];					
			char CreditCard_expire_date[100];			
			int CreditCardNumber;
			int CreditCardSecurityNumber;
			int CreditCardPinNumber;
			int SortCode;
	public: 
			CreditCard(int ptrCreditCardid, int ptrCustomerid, int ptrAccountid, char *ptrCreditCard_open_date,char *ptrCreditCard_expire_date,int ptrCreditCardNumber, int ptrCreditCardSecurityNumber, int ptrCreditCardPinNumber)
			{
				CreditCardid=ptrCreditCardid;
				Customerid = ptrCustomerid;
				Accountid = ptrAccountid;
				strcpy(CreditCard_open_date, ptrCreditCard_open_date);
				strcpy(CreditCard_expire_date, ptrCreditCard_expire_date);
				CreditCardNumber = ptrCreditCardNumber;	
				CreditCardSecurityNumber = ptrCreditCardSecurityNumber;
				CreditCardPinNumber = ptrCreditCardPinNumber;
				SortCode = 512178;
			
			}
	void Display(void)
			{
				cout<<"Credit Card Number				:  "<<CreditCardNumber<<endl;
				cout<<"Customer Number					:  "<<Customerid<<endl;
				cout<<"Account Number					:  "<<Accountid<<endl;
				cout<<"Credit Card Start Date		    :  "<<CreditCard_open_date<<endl;
				cout<<"Credit Card Expiry Date			:  "<<CreditCard_expire_date<<endl;
				cout<<"Credit Card Security Number		:  "<<CreditCardSecurityNumber<<endl;
				cout<<"Credit Card Pin Number			:  "<<CreditCardPinNumber<<endl;
				cout<<"Credit Card Sort Code			:  "<<SortCode<<endl;
				cout<<"_________________________________________________"<<endl;
				cout<<"  "<<endl;
			}
	};

class DebitCard
{
	public:
			int DebitCardid;
			int Customerid;
			int Accountid;
			char DebitCard_open_date[100];					
			char DebitCard_expire_date[100];			
			int DebitCardNumber;
			int DebitCardSecurityNumber;
			int DebitCardPinNumber;
			int SortCode;
	public: 
			DebitCard(int ptrDebitCardid, int ptrCustomerid, int ptrAccountid, char *ptrDebitCard_open_date,char *ptrDebitCard_expire_date,int ptrDebitCardNumber, int ptrDebitCardSecurityNumber, int ptrDebitCardPinNumber)
			{
				DebitCardid=ptrDebitCardid;
				Customerid = ptrCustomerid;
				Accountid = ptrAccountid;
				strcpy(DebitCard_open_date, ptrDebitCard_open_date);
				strcpy(DebitCard_expire_date, ptrDebitCard_expire_date);
				DebitCardNumber = ptrDebitCardNumber;	
				DebitCardSecurityNumber = ptrDebitCardSecurityNumber;
				DebitCardPinNumber = ptrDebitCardPinNumber;
				SortCode = 512178;
			
			}
	void Display(void)
			{
				cout<<"Debit Card Number				:  "<<DebitCardNumber<<endl;
				cout<<"Customer Number					:  "<<Customerid<<endl;
				cout<<"Account Number					:  "<<Accountid<<endl;
				cout<<"Debit Card Start Date		    :  "<<DebitCard_open_date<<endl;
				cout<<"Debit Card Expiry Date			:  "<<DebitCard_expire_date<<endl;
				cout<<"Debit Card Security Number		:  "<<DebitCardSecurityNumber<<endl;
				cout<<"Debit Card Pin Number			:  "<<DebitCardPinNumber<<endl;
				cout<<"Debit Card Sort Code				:  "<<SortCode<<endl;
				cout<<"_________________________________________________"<<endl;
				cout<<"  "<<endl;
			}
	};


class Cheque
{
	public:
			int Chequeid;
			int Customerid;
			int Accountid;	
			int SortCode;
	public: 
			Cheque(int ptrChequeid, int ptrCustomerid, int ptrAccountid)
			{
				Chequeid=ptrChequeid;
				Customerid = ptrCustomerid;
				Accountid = ptrAccountid;
				SortCode = 512178;
			
			}
	void Display(void)
			{
				cout<<"Cheque Card Number			:  "<<Chequeid<<endl;
				cout<<"Customer Number				:  "<<Customerid<<endl;
				cout<<"Account Number				:  "<<Accountid<<endl;
				cout<<"Cheque Card Sort Code		:  "<<SortCode<<endl;
				cout<<"_________________________________________________"<<endl;
				cout<<"  "<<endl;
			}
	};
int mainmenu(int value1)
{

		cout<<"------- Select Menu -------"<<endl;
		cout<<"1     Add Customer"<<endl;
		cout<<"2     Delete Customer"<<endl;
		cout<<"3     Add Account"<<endl;
		cout<<"4     Delete Account"<<endl;
		cout<<"5     Transaction(-)"<<endl;
		cout<<"6     Transaction(+)"<<endl;
		cout<<"7     Admin Menu"<<endl;
		cout<<"8     Exit"<<endl;
		cout<<""<<endl;
		cout<<"-----------------------------"<<endl;
		cout<<"Please Select An Option......"<<endl;
		cout<<""<<endl;

		int o;
		cin>>o;
		cout<<""<<endl;
		value1 = o;
		return value1;

}
int addmenu(int value2)
{

		cout<<"------- Select Account -------"<<endl;
		cout<<"1      Current Account"<<endl;
		cout<<"2      Savings Account"<<endl;
		cout<<"3      CorporateSaving"<<endl;
		cout<<"4      StudentSaving"<<endl;
		cout<<"5      Corporate Loan"<<endl;
		cout<<"6      Personal Loan"<<endl;
		cout<<"7      Mortgage"<<endl;
		cout<<""<<endl;
		cout<<"-----------------------------"<<endl;
		cout<<"Please Select An Option......"<<endl;
		cout<<""<<endl;

		int o;
		cin>>o;
		cout<<""<<endl;
		value2 = o;
		return value2;

}
int cardmenu(int value3)
{

		cout<<"------- Select Cards -------"<<endl;
		cout<<"1      Debit Card"<<endl;
		cout<<"2      Credit Card"<<endl;
		cout<<"3      Cheque"<<endl;
		cout<<""<<endl;
		cout<<"-----------------------------"<<endl;
		cout<<"Please Select An Option......"<<endl;
		cout<<""<<endl;

		int o;
		cin>>o;
		cout<<""<<endl;
		value3 = o;
		return value3;

}
int adminmenu(int value4)
{

		cout<<"------- Select Menu -------"<<endl;
		cout<<"1      Customer Details"<<endl;
		cout<<"2      Exit"<<endl;
		cout<<""<<endl;
		cout<<"-----------------------------"<<endl;
		cout<<"Please Select An Option......"<<endl;
		cout<<""<<endl;

		int o;
		cin>>o;
		cout<<""<<endl;
		value4 = o;
		return value4;

}

int main(void)
{
	int customerid = 1000;
	int accountid = 2000;
	int cardid = 3000;
	int cardcumber=10000000000000;
	int cardsecuritynumber=100;
	int cardpinnumber=1234;
	int select1, select2;
	char date [10];
	_strdate(date);
	char finalenddate[10]="10/2012";
 	vector<Customer*>customer1;
 	vector<CurrentAccount*>currentaccount1;
 	vector<SavingAccount*>savingaccount1;
 	vector<CorporateSaving*>corporatesaving1;
 	vector<StudentSaving*>studentsaving1;
	vector<CorporateLoan*>corporateloan1;
 	vector<PersonalLoan*>personalloan1;
	vector<Mortgage*>mortgage1;
	vector<DebitCard*>debitcard1;
 	vector<CreditCard*>creditcard1;
	vector<Cheque*>cheque1;
	do
	{
		select2 = mainmenu(select1); 
		switch (select2)
		{
			case 1:
			{
					vector <Customer> customer;
					int num ;
					cout<<"The Number Of Customer You Want TO Enter	:	  ";
					cin >> num;
					cout<<""<<endl;
					int k = 0;
					do
					{
						customerid++;
						accountid++;
						cardcumber++;
						cardsecuritynumber++;
						cardpinnumber++;
						cardid++;		
						
						char fname[30];
						char lname[30];
						int age;
						char address1[100];
						char address2[100];						
						char postcode[100];						
						char contact[100];
					
						cout<<"Enter First Name		:	";
						cin>>fname;
						cout<<"Enter Last Name			:	";
						cin>>lname;
						cout<<"Enter Age			:	";
						cin>>age;
						cout<<"Enter Address 1			:	";
						cin>>address1;
						cout<<"Enter Address 2			:	";
						cin>>address2;
						cout<<"Enter Postcode			:	";
						cin>>postcode;
						cout<<"Enter Contact			:	";
						cin>>contact;
						cout<<""<<endl;
						char *a1 =fname; 
						char *a2=lname;
						char *a3=address1;
						char *a4=address2;
						char *a5=postcode;
						char *a6=contact;
						Customer* obj = new Customer(customerid, a1,a2,age,a3,a4,a5,a6);
						customer1.push_back(obj);
						obj=NULL;
						int select3, select4;
						do
						{

							select4 = addmenu(select3); 
							switch (select4)
							{
								case 1:
								{
									int balance;
									char lastTran[100]="--------";						
									cout<<"Enter Balance	:	";
									cin>>balance;
									cout<<""<<endl;
									char *b1=date;
									char *b2=lastTran;
									CurrentAccount* obj1 = new CurrentAccount(accountid,customerid, b1,b2,balance);
									currentaccount1.push_back(obj1);
									obj1=NULL;					
								}
								break;
								case 2:
								{
									int balance;
									char lastTran[100]="--------";						
									cout<<"Enter Balance	:	";
									cin>>balance;
									cout<<""<<endl;
									char *b1=date;
									char *b2=lastTran;
									SavingAccount* obj1 = new SavingAccount(accountid,customerid, b1,b2,balance);
									savingaccount1.push_back(obj1);
									obj1=NULL;
								}
								break;
								case 3:
								{
									int balance;
									char lastTran[100]="--------";						
									cout<<"Enter Balance	:	";
									cin>>balance;
									cout<<""<<endl;
									char *b1=date;
									char *b2=lastTran;
									CorporateSaving* obj1 = new CorporateSaving(accountid,customerid, b1,b2,balance);
									corporatesaving1.push_back(obj1);
									obj1=NULL;								
								}
								break;
								case 4:
								{
									int balance;
									char lastTran[100]="--------";						
									cout<<"Enter Balance	:	";
									cin>>balance;
									cout<<""<<endl;
									char *b1=date;
									char *b2=lastTran;
									StudentSaving* obj1 = new StudentSaving(accountid,customerid, b1,b2,balance);
									studentsaving1.push_back(obj1);
									obj1=NULL;
								}
								break;
								case 5:
								{
									int creditlimit;
									cout<<"Enter creditlimit	:";
									cin>>creditlimit;
									if(creditlimit>100)
									{
										int balance;
										char lastTran[100]="--------";						
										cout<<"Enter Loan Amount	:	";
										cin>>balance;
										cout<<""<<endl;
										char *b1=date;
										char *b2=lastTran;
										CorporateLoan* obj1 = new CorporateLoan(accountid,customerid, b1,b2,balance);
										corporateloan1.push_back(obj1);
										obj1=NULL;
									}
									else
									{
										cout<<"Sorry Credit Limit is less"<<endl;
										select4=20;
									}
								}
								break;
								case 6:
								{
									int creditlimit;
									cout<<"Enter creditlimit	:";
									cin>>creditlimit;
									if(creditlimit>50)
									{
									
									int balance;
									char lastTran[100]="--------";						
									cout<<"Enter Loan Amount	:	";
									cin>>balance;
									cout<<""<<endl;
									char *b1=date;
									char *b2=lastTran;
									PersonalLoan* obj1 = new PersonalLoan(accountid,customerid, b1,b2,balance);
									personalloan1.push_back(obj1);
									obj1=NULL;
									}
									else
									{
										cout<<"Sorry Credit Limit is less"<<endl;
										select4=20;
									}
								}
								break;
								case 7:
								{
									int creditlimit;
									cout<<"Enter creditlimit	:";
									cin>>creditlimit;
									if(creditlimit>75)
									{
									
									int balance;
									char lastTran[100]="--------";						
									cout<<"Enter Mortgage	:	";
									cin>>balance;
									cout<<""<<endl;
									int mgo2=80/100*balance;
									balance=mgo2;
									char *b1=date;
									char *b2=lastTran;
									Mortgage* obj1 = new Mortgage(accountid,customerid, b1,b2,balance);
									mortgage1.push_back(obj1);
									obj1=NULL;				
									}
									else
									{
										cout<<"Sorry Credit Limit is less"<<endl;
										select4=20;
									}
								}
								break;
							}
						}
						while(select4!=1&&select4!=2&&select4!=2&&select4!=3&&select4!=4&&select4!=5&&select4!=6&&select4!=7);
						if(select4==1||select4==2||select4==3||select4==4)
						{
						int select5, select6;
						do
						{
							select6 = cardmenu(select5); 
							switch (select6)
							{
								case 1:
								{
									char *c1=date;
									char *c2=finalenddate;								
									DebitCard* obj1 = new DebitCard(cardid,customerid,accountid,c1,c2,cardcumber,cardsecuritynumber,cardpinnumber);
									debitcard1.push_back(obj1);
									obj1=NULL;
								}
								break;
								case 2:
								{
									char *c1=date;
									char *c2=finalenddate;								
									CreditCard* obj1 = new CreditCard(cardid,customerid,accountid,c1,c2,cardcumber,cardsecuritynumber,cardpinnumber);
									creditcard1.push_back(obj1);
									obj1=NULL;				
								}
								break;
								case 3:
								{
									Cheque* obj1 = new Cheque(cardid,customerid,accountid);
									cheque1.push_back(obj1);
									obj1=NULL;		
								}
								break;
							}
						}
						while(select6!=1&&select6!=2&&select6!=3);
						}
						k++;
					}
					while(k != num);			
			}
			break;

/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

			case 2:
			{
				int delcustomerid;
				cout<<"Customer ID	FName	LName"<<endl;
				for(int x =0; x<customer1.size(); x++)
				{
					cout<<customer1[x]->Customerid<<"		"<<customer1[x]->FName<<"		"<<customer1[x]->LName<<endl;	
				}			
				if(customer1.size()==0)
				{
				}
				else
				{
				cout<<"Please enter a customer id........"<<endl;
				cin>>delcustomerid;
				for(int x =0; x<customer1.size(); x++)
				{
					if(customer1[x]->Customerid==delcustomerid)
					{
						customer1.erase(customer1.begin()+x,customer1.begin()+1+x);
						x=0;
					}
				}
				for(int x =0; x<currentaccount1.size(); x++)
				{
					if(currentaccount1[x]->Customerid==delcustomerid)
					{
						currentaccount1.erase(currentaccount1.begin()+x,currentaccount1.begin()+1+x);
						x=0;
					}
				}
				for(int x =0; x<savingaccount1.size(); x++)
				{
					if(savingaccount1[x]->Customerid==delcustomerid)
					{
						savingaccount1.erase(savingaccount1.begin()+x,savingaccount1.begin()+1+x);
						x=0;
					}
				}
				for(int x =0; x<corporatesaving1.size(); x++)
				{
					if(corporatesaving1[x]->Customerid==delcustomerid)
					{
						corporatesaving1.erase(corporatesaving1.begin()+x,corporatesaving1.begin()+1+x);
						x=0;
					}
				}
				for(int x =0; x<studentsaving1.size(); x++)
				{
					if(studentsaving1[x]->Customerid==delcustomerid)
					{
						studentsaving1.erase(studentsaving1.begin()+x,studentsaving1.begin()+1+x);
						x=0;
					}
				}
				for(int x =0; x<corporateloan1.size(); x++)
				{
					if(corporateloan1[x]->Customerid==delcustomerid)
					{
						corporateloan1.erase(corporateloan1.begin()+x,corporateloan1.begin()+1+x);
						x=0;
					}
				}
				for(int x =0; x<personalloan1.size(); x++)
				{
					if(personalloan1[x]->Customerid==delcustomerid)
					{
						personalloan1.erase(personalloan1.begin()+x,personalloan1.begin()+1+x);
						x=0;
					}
				}
				for(int x =0; x<mortgage1.size(); x++)
				{
					if(mortgage1[x]->Customerid==delcustomerid)
					{
						mortgage1.erase(mortgage1.begin()+x,mortgage1.begin()+1+x);
						x=0;
					}
				}
				for(int x =0; x<debitcard1.size(); x++)
				{
					if(debitcard1[x]->Customerid==delcustomerid)
					{
						debitcard1.erase(debitcard1.begin()+x,debitcard1.begin()+1+x);
						x=0;
					}
				}
				for(int x =0; x<creditcard1.size(); x++)
				{
					if(creditcard1[x]->Customerid==delcustomerid)
					{
						creditcard1.erase(creditcard1.begin()+x,creditcard1.begin()+1+x);
						x=0;
					}
				}
				for(int x =0; x<cheque1.size(); x++)
				{
					if(cheque1[x]->Customerid==delcustomerid)
					{
						cheque1.erase(cheque1.begin()+x,cheque1.begin()+1+x);
						x=0;
					}
				}
			}
				

			}
			break;
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////			
			case 3:
			{	cout<<"Customerid	FName	LName"<<endl;	
								
				for(int x =0; x<customer1.size(); x++)
				{
					cout<<customer1[x]->Customerid<<"		"<<customer1[x]->FName<<"		"<<customer1[x]->LName<<endl;	
				}			
				if(customer1.size()==0)
				{
				}
				else
				{
				
				int customerid2;
				cout<<"Enter customer number........"<<endl;
				cin>>customerid2;
				
				int select3, select4;
				accountid++;
				cardcumber++;
				cardsecuritynumber++;
				cardpinnumber++;
				cardid++;	
						do
						{

							select4 = addmenu(select3); 
							switch (select4)
							{
								case 1:
								{
									int balance;
									char lastTran[100]="--------";						
									cout<<"Enter Balance	:	";
									cin>>balance;
									cout<<""<<endl;
									char *b1=date;
									char *b2=lastTran;
									CurrentAccount* obj1 = new CurrentAccount(accountid,customerid2, b1,b2,balance);
									currentaccount1.push_back(obj1);
									obj1=NULL;					
								}
								break;
								case 2:
								{
									int balance;
									char lastTran[100]="--------";						
									cout<<"Enter Balance	:	";
									cin>>balance;
									cout<<""<<endl;
									char *b1=date;
									char *b2=lastTran;
									SavingAccount* obj1 = new SavingAccount(accountid,customerid2, b1,b2,balance);
									savingaccount1.push_back(obj1);
									obj1=NULL;
								}
								break;
								case 3:
								{
									int balance;
									char lastTran[100]="--------";						
									cout<<"Enter Balance	:	";
									cin>>balance;
									cout<<""<<endl;
									char *b1=date;
									char *b2=lastTran;
									CorporateSaving* obj1 = new CorporateSaving(accountid,customerid2, b1,b2,balance);
									corporatesaving1.push_back(obj1);
									obj1=NULL;								
								}
								break;
								case 4:
								{
									int balance;
									char lastTran[100]="--------";						
									cout<<"Enter Balance	:	";
									cin>>balance;
									cout<<""<<endl;
									char *b1=date;
									char *b2=lastTran;
									StudentSaving* obj1 = new StudentSaving(accountid,customerid2, b1,b2,balance);
									studentsaving1.push_back(obj1);
									obj1=NULL;
								}
								break;
								case 5:
								{
									int creditlimit;
									cout<<"Enter creditlimit	:";
									cin>>creditlimit;
									if(creditlimit>100)
									{
										int balance;
										char lastTran[100]="--------";						
										cout<<"Enter Loan Amount	:	";
										cin>>balance;
										cout<<""<<endl;
										char *b1=date;
										char *b2=lastTran;
										CorporateLoan* obj1 = new CorporateLoan(accountid,customerid2, b1,b2,balance);
										corporateloan1.push_back(obj1);
										obj1=NULL;
									}
									else
									{
										cout<<"Sorry Credit Limit is less"<<endl;
										select4=20;
									}
								}
								break;
								case 6:
								{
									int creditlimit;
									cout<<"Enter creditlimit	:";
									cin>>creditlimit;
									if(creditlimit>50)
									{
									
									int balance;
									char lastTran[100]="--------";						
									cout<<"Enter Loan Amount	:	";
									cin>>balance;
									cout<<""<<endl;
									char *b1=date;
									char *b2=lastTran;
									PersonalLoan* obj1 = new PersonalLoan(accountid,customerid2, b1,b2,balance);
									personalloan1.push_back(obj1);
									obj1=NULL;
									}
									else
									{
										cout<<"Sorry Credit Limit is less"<<endl;
										select4=20;
									}
								}
								break;
								case 7:
								{
									int creditlimit;
									cout<<"Enter creditlimit	:";
									cin>>creditlimit;
									if(creditlimit>75)
									{
									
									int balance;
									char lastTran[100]="--------";						
									cout<<"Enter Mortgage Amount	:	";
									cin>>balance;
									int mgo=80/100*balance;
									balance=mgo;
									cout<<""<<endl;
									char *b1=date;
									char *b2=lastTran;
									Mortgage* obj1 = new Mortgage(accountid,customerid2, b1,b2,balance);
									mortgage1.push_back(obj1);
									obj1=NULL;				
									}
									else
									{
										cout<<"Sorry Credit Limit is less"<<endl;
										select4=20;
									}
								}
								break;
							}
						}
						while(select4!=1&&select4!=2&&select4!=2&&select4!=3&&select4!=4&&select4!=5&&select4!=6&&select4!=7);
						if(select4==1||select4==2||select4==3||select4==4)
						{
						int select5, select6;
						do
						{
							select6 = cardmenu(select5); 
							switch (select6)
							{
								case 1:
								{
									char *c1=date;
									char *c2=finalenddate;								
									DebitCard* obj1 = new DebitCard(cardid,customerid2,accountid,c1,c2,cardcumber,cardsecuritynumber,cardpinnumber);
									debitcard1.push_back(obj1);
									obj1=NULL;
								}
								break;
								case 2:
								{
									char *c1=date;
									char *c2=finalenddate;								
									CreditCard* obj1 = new CreditCard(cardid,customerid2,accountid,c1,c2,cardcumber,cardsecuritynumber,cardpinnumber);
									creditcard1.push_back(obj1);
									obj1=NULL;				
								}
								break;
								case 3:
								{
									Cheque* obj1 = new Cheque(cardid,customerid2,accountid);
									cheque1.push_back(obj1);
									obj1=NULL;		
								}
								break;
							}
						}
						while(select6!=1&&select6!=2&&select6!=3);
						}
				
			}
			}
			break;			
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////			
			case 4:
			{
				int delcustomerid;
				int y =0;
				cout<<"Customerid	Accountid	Type"<<endl;	
								
				for(int x =0; x<currentaccount1.size(); x++, y++)
				{
					cout<<currentaccount1[x]->Customerid<<"		"<<currentaccount1[x]->CurrentAccountid<<"		Current Account"<<endl;	
				}

				for(int x =0; x<savingaccount1.size(); x++,y++)
				{
					cout<<savingaccount1[x]->Customerid<<"		"<<savingaccount1[x]->SavingAccountid<<"		Saving Account"<<endl;	
				}

				for(int x =0; x<corporatesaving1.size(); x++,y++)
				{
					cout<<corporatesaving1[x]->Customerid<<"		"<<corporatesaving1[x]->CorporateSavingid<<"		Corporate Saving"<<endl;	
				}
				for(int x =0; x<studentsaving1.size(); x++,y++)
				{
					cout<<studentsaving1[x]->Customerid<<"		"<<studentsaving1[x]->StudentSavingid<<"		Student Saving"<<endl;	
				}
				for(int x =0; x<personalloan1.size(); x++,y++)
				{
					cout<<personalloan1[x]->Customerid<<"		"<<personalloan1[x]->PersonalLoanid<<"		Personal Loan"<<endl;	
				}
				for(int x =0; x<corporateloan1.size(); x++,y++)
				{
					cout<<corporateloan1[x]->Customerid<<"		"<<corporateloan1[x]->CorporateLoanid<<"		Corporate Loan"<<endl;	
				}
				for(int x =0; x<mortgage1.size(); x++,y++)
				{
					cout<<mortgage1[x]->Customerid<<"		"<<mortgage1[x]->Mortgageid<<"		Mortgage"<<endl;	
				}
								if(y==0)
				{
				}
				else
				{
				cout<<"Please enter a account id........"<<endl;
				cin>>delcustomerid;

				for(int x =0; x<currentaccount1.size(); x++)
				{
					if(currentaccount1[x]->CurrentAccountid==delcustomerid)
					{
						currentaccount1.erase(currentaccount1.begin()+x,currentaccount1.begin()+1+x);
						x=0;
					}
				}
				for(int x =0; x<savingaccount1.size(); x++)
				{
					if(savingaccount1[x]->SavingAccountid==delcustomerid)
					{
						savingaccount1.erase(savingaccount1.begin()+x,savingaccount1.begin()+1+x);
						x=0;
					}
				}
				for(int x =0; x<corporatesaving1.size(); x++)
				{
					if(corporatesaving1[x]->CorporateSavingid==delcustomerid)
					{
						corporatesaving1.erase(corporatesaving1.begin()+x,corporatesaving1.begin()+1+x);
						x=0;
					}
				}
				for(int x =0; x<studentsaving1.size(); x++)
				{
					if(studentsaving1[x]->StudentSavingid==delcustomerid)
					{
						studentsaving1.erase(studentsaving1.begin()+x,studentsaving1.begin()+1+x);
						x=0;
					}
				}
				for(int x =0; x<corporateloan1.size(); x++)
				{
					if(corporateloan1[x]->CorporateLoanid==delcustomerid)
					{
						corporateloan1.erase(corporateloan1.begin()+x,corporateloan1.begin()+1+x);
						x=0;
					}
				}
				for(int x =0; x<personalloan1.size(); x++)
				{
					if(personalloan1[x]->PersonalLoanid==delcustomerid)
					{
						personalloan1.erase(personalloan1.begin()+x,personalloan1.begin()+1+x);
						x=0;
					}
				}
				for(int x =0; x<mortgage1.size(); x++)
				{
					if(mortgage1[x]->Mortgageid==delcustomerid)
					{
						mortgage1.erase(mortgage1.begin()+x,mortgage1.begin()+1+x);
						x=0;
					}
				}
				for(int x =0; x<debitcard1.size(); x++)
				{
					if(debitcard1[x]->Accountid==delcustomerid)
					{
						debitcard1.erase(debitcard1.begin()+x,debitcard1.begin()+1+x);
						x=0;
					}
				}
				for(int x =0; x<creditcard1.size(); x++)
				{
					if(creditcard1[x]->Accountid==delcustomerid)
					{
						creditcard1.erase(creditcard1.begin()+x,creditcard1.begin()+1+x);
						x=0;
					}
				}
				for(int x =0; x<cheque1.size(); x++)
				{
					if(cheque1[x]->Accountid==delcustomerid)
					{
						cheque1.erase(cheque1.begin()+x,cheque1.begin()+1+x);
						x=0;
					}
				}
			  }
			}
			break;
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
			case 5:
			{
				int delcustomerid;
				int acctype;
				int y =0;
				cout<<"Customerid		Accountid		Type"<<endl;	
								
				for(int x =0; x<currentaccount1.size(); x++, y++)
				{
					cout<<"1	"<<currentaccount1[x]->Customerid<<"		"<<currentaccount1[x]->CurrentAccountid<<"		Current Account"<<endl;	
				}

				for(int x =0; x<savingaccount1.size(); x++,y++)
				{
					cout<<"2	"<<savingaccount1[x]->Customerid<<"		"<<savingaccount1[x]->SavingAccountid<<"		Saving Account"<<endl;	
				}

				for(int x =0; x<corporatesaving1.size(); x++,y++)
				{
					cout<<"3	"<<corporatesaving1[x]->Customerid<<"		"<<corporatesaving1[x]->CorporateSavingid<<"		Corporate Saving"<<endl;	
				}
				for(int x =0; x<studentsaving1.size(); x++,y++)
				{
					cout<<"4	"<<studentsaving1[x]->Customerid<<"		"<<studentsaving1[x]->StudentSavingid<<"		Student Saving"<<endl;	
				}
				for(int x =0; x<personalloan1.size(); x++,y++)
				{
					cout<<"5	"<<personalloan1[x]->Customerid<<"		"<<personalloan1[x]->PersonalLoanid<<"		Personal Loan"<<endl;	
				}
				for(int x =0; x<corporateloan1.size(); x++,y++)
				{
					cout<<"6	"<<corporateloan1[x]->Customerid<<"		"<<corporateloan1[x]->CorporateLoanid<<"		Corporate Loan"<<endl;	
				}
				for(int x =0; x<mortgage1.size(); x++,y++)
				{
					cout<<"7	"<<mortgage1[x]->Customerid<<"		"<<mortgage1[x]->Mortgageid<<"		Mortgage"<<endl;	
				}
				if(y==0)
				{
				}
				else
				{
				cout<<"Please enter a account type........"<<endl;
				cin>>acctype;

				cout<<"Please enter a account id........"<<endl;
				cin>>delcustomerid;
				if(acctype==1)
				{
					int amt;
					for(int x =0; x<currentaccount1.size(); x++)
					{
						if(currentaccount1[x]->CurrentAccountid==delcustomerid)
						{
							cout<<"Account Number	:"<<delcustomerid<<endl;
							cout<<"Balance			:"<<currentaccount1[x]->Balance-currentaccount1[x]->overdraft<<endl;
							cout<<"Overdraft		:"<<currentaccount1[x]->overdraft<<endl;
							cout<<"-----------------------------------------"<<endl;
							cout<<"Available		:"<<currentaccount1[x]->Balance<<endl;
							cout<<"Please enter the ammount you want to withdraw............."<<endl;
							cin>>amt;
							if(amt>currentaccount1[x]->Balance)
							{
								cout<<"Sorry amount is more than what you have"<<endl;
								
							}
							else
							{
								currentaccount1[x]->Balance=(currentaccount1[x]->Balance-amt);
								cout<<"Account Number	:"<<delcustomerid<<endl;
								cout<<"Balance			:"<<currentaccount1[x]->Balance-currentaccount1[x]->overdraft<<endl;
								cout<<"Overdraft		:"<<currentaccount1[x]->overdraft<<endl;
								cout<<"-----------------------------------------"<<endl;
								cout<<"Available		:"<<currentaccount1[x]->Balance<<endl;

							}
							
						}
					}
				}
								if(acctype==2)
				{
					int amt;
					for(int x =0; x<savingaccount1.size(); x++)
					{
						if(savingaccount1[x]->SavingAccountid==delcustomerid)
						{
							cout<<"Account Number	:"<<delcustomerid<<endl;
							cout<<"Balance			:"<<savingaccount1[x]->Balance-savingaccount1[x]->overdraft<<endl;
							cout<<"Overdraft		:"<<savingaccount1[x]->overdraft<<endl;
							cout<<"-----------------------------------------"<<endl;
							cout<<"Available		:"<<savingaccount1[x]->Balance<<endl;
							cout<<"Please enter the ammount you want to withdraw............."<<endl;
							cin>>amt;
							if(amt>savingaccount1[x]->Balance)
							{
								cout<<"Sorry amount is more than what you have"<<endl;
								
							}
							else
							{
								savingaccount1[x]->Balance=(savingaccount1[x]->Balance-amt);
								cout<<"Account Number	:"<<delcustomerid<<endl;
								cout<<"Balance			:"<<savingaccount1[x]->Balance-savingaccount1[x]->overdraft<<endl;
								cout<<"Overdraft		:"<<savingaccount1[x]->overdraft<<endl;
								cout<<"-----------------------------------------"<<endl;
								cout<<"Available		:"<<savingaccount1[x]->Balance<<endl;

							}
							
						}
					}
				}
if(acctype==3)
				{
					int amt;
					for(int x =0; x<corporatesaving1.size(); x++)
					{
						if(corporatesaving1[x]->CorporateSavingid==delcustomerid)
						{
							cout<<"Account Number	:"<<delcustomerid<<endl;
							cout<<"Balance			:"<<corporatesaving1[x]->Balance-corporatesaving1[x]->overdraft<<endl;
							cout<<"Overdraft		:"<<corporatesaving1[x]->overdraft<<endl;
							cout<<"-----------------------------------------"<<endl;
							cout<<"Available		:"<<corporatesaving1[x]->Balance<<endl;
							cout<<"Please enter the ammount you want to withdraw............."<<endl;
							cin>>amt;
							if(amt>corporatesaving1[x]->Balance)
							{
								cout<<"Sorry amount is more than what you have"<<endl;
								
							}
							else
							{
								corporatesaving1[x]->Balance=(corporatesaving1[x]->Balance-amt);
								cout<<"Account Number	:"<<delcustomerid<<endl;
								cout<<"Balance			:"<<corporatesaving1[x]->Balance-corporatesaving1[x]->overdraft<<endl;
								cout<<"Overdraft		:"<<corporatesaving1[x]->overdraft<<endl;
								cout<<"-----------------------------------------"<<endl;
								cout<<"Available		:"<<corporatesaving1[x]->Balance<<endl;

							}
							
						}
					}
				}


				if(acctype==4)
				{
					int amt;
					for(int x =0; x<studentsaving1.size(); x++)
					{
						if(studentsaving1[x]->StudentSavingid==delcustomerid)
						{
							cout<<"Account Number	:"<<delcustomerid<<endl;
							cout<<"Balance			:"<<studentsaving1[x]->Balance-studentsaving1[x]->overdraft<<endl;
							cout<<"Overdraft		:"<<studentsaving1[x]->overdraft<<endl;
							cout<<"-----------------------------------------"<<endl;
							cout<<"Available		:"<<studentsaving1[x]->Balance<<endl;
							cout<<"Please enter the ammount you want to withdraw............."<<endl;
							cin>>amt;
							if(amt>studentsaving1[x]->Balance)
							{
								cout<<"Sorry amount is more than what you have"<<endl;
								
							}
							else
							{
								studentsaving1[x]->Balance=(studentsaving1[x]->Balance-amt);
								cout<<"Account Number	:"<<delcustomerid<<endl;
								cout<<"Balance			:"<<studentsaving1[x]->Balance-studentsaving1[x]->overdraft<<endl;
								cout<<"Overdraft		:"<<studentsaving1[x]->overdraft<<endl;
								cout<<"-----------------------------------------"<<endl;
								cout<<"Available		:"<<studentsaving1[x]->Balance<<endl;

							}
							
						}
					}
				}
				if(acctype==5)
				{
					int amt;
					for(int x =0; x<personalloan1.size(); x++)
					{
						if(personalloan1[x]->PersonalLoanid==delcustomerid)
						{
							cout<<"Account Number	:"<<delcustomerid<<endl;
							cout<<"Balance			:"<<personalloan1[x]->Balance<<endl;
							cout<<"-----------------------------------------"<<endl;
							cout<<"Available		:"<<personalloan1[x]->Balance<<endl;
							cout<<"Please enter the ammount you want to withdraw............."<<endl;
							cin>>amt;
							if(amt>personalloan1[x]->Balance)
							{
								cout<<"Sorry amount is more than what you have"<<endl;
								
							}
							else
							{
								personalloan1[x]->Balance=(personalloan1[x]->Balance-amt);
								cout<<"Account Number	:"<<delcustomerid<<endl;
								cout<<"Balance			:"<<personalloan1[x]->Balance<<endl;
								cout<<"-----------------------------------------"<<endl;
								cout<<"Available		:"<<personalloan1[x]->Balance<<endl;

							}
							
						}
					}
				}


				if(acctype==6)
				{
					int amt;
					for(int x =0; x<corporateloan1.size(); x++)
					{
						if(corporateloan1[x]->CorporateLoanid==delcustomerid)
						{
							cout<<"Account Number	:"<<delcustomerid<<endl;
							cout<<"Balance			:"<<corporateloan1[x]->Balance<<endl;
							cout<<"-----------------------------------------"<<endl;
							cout<<"Available		:"<<corporateloan1[x]->Balance<<endl;
							cout<<"Please enter the ammount you want to withdraw............."<<endl;
							cin>>amt;
							if(amt>corporateloan1[x]->Balance)
							{
								cout<<"Sorry amount is more than what you have"<<endl;
								
							}
							else
							{
								corporateloan1[x]->Balance=(corporateloan1[x]->Balance-amt);
								cout<<"Account Number	:"<<delcustomerid<<endl;
								cout<<"Balance			:"<<corporateloan1[x]->Balance<<endl;
								cout<<"-----------------------------------------"<<endl;
								cout<<"Available		:"<<corporateloan1[x]->Balance<<endl;

							}
							
						}
					}
				}
				if(acctype==7)
				{
					int amt;
					for(int x =0; x<mortgage1.size(); x++)
					{
						if(mortgage1[x]->Mortgageid==delcustomerid)
						{
							cout<<"Account Number	:"<<delcustomerid<<endl;
							cout<<"Balance			:"<<mortgage1[x]->Balance<<endl;
							cout<<"-----------------------------------------"<<endl;
							cout<<"Available		:"<<mortgage1[x]->Balance<<endl;
							cout<<"Please enter the ammount you want to withdraw............."<<endl;
							cin>>amt;
							if(amt>mortgage1[x]->Balance)
							{
								cout<<"Sorry amount is more than what you have"<<endl;
								
							}
							else
							{
								mortgage1[x]->Balance=(mortgage1[x]->Balance-amt);
								cout<<"Account Number	:"<<delcustomerid<<endl;
								cout<<"Balance			:"<<mortgage1[x]->Balance<<endl;
								cout<<"-----------------------------------------"<<endl;
								cout<<"Available		:"<<mortgage1[x]->Balance<<endl;

							}
							
						}
					}
				}
			 }
			}
			break;
			case 6:
			{
				int delcustomerid;
				int acctype;
				int y =0;
				cout<<"Customerid		Accountid		Type"<<endl;	
								
				for(int x =0; x<currentaccount1.size(); x++, y++)
				{
					cout<<"1	"<<currentaccount1[x]->Customerid<<"		"<<currentaccount1[x]->CurrentAccountid<<"		Current Account"<<endl;	
				}

				for(int x =0; x<savingaccount1.size(); x++,y++)
				{
					cout<<"2	"<<savingaccount1[x]->Customerid<<"		"<<savingaccount1[x]->SavingAccountid<<"		Saving Account"<<endl;	
				}

				for(int x =0; x<corporatesaving1.size(); x++,y++)
				{
					cout<<"3	"<<corporatesaving1[x]->Customerid<<"		"<<corporatesaving1[x]->CorporateSavingid<<"		Corporate Saving"<<endl;	
				}
				for(int x =0; x<studentsaving1.size(); x++,y++)
				{
					cout<<"4	"<<studentsaving1[x]->Customerid<<"		"<<studentsaving1[x]->StudentSavingid<<"		Student Saving"<<endl;	
				}
				for(int x =0; x<personalloan1.size(); x++,y++)
				{
					cout<<"5	"<<personalloan1[x]->Customerid<<"		"<<personalloan1[x]->PersonalLoanid<<"		Personal Loan"<<endl;	
				}
				for(int x =0; x<corporateloan1.size(); x++,y++)
				{
					cout<<"6	"<<corporateloan1[x]->Customerid<<"		"<<corporateloan1[x]->CorporateLoanid<<"		Corporate Loan"<<endl;	
				}
				for(int x =0; x<mortgage1.size(); x++,y++)
				{
					cout<<"7	"<<mortgage1[x]->Customerid<<"		"<<mortgage1[x]->Mortgageid<<"		Mortgage"<<endl;	
				}
				if(y==0)
				{
				}
				else
				{
				cout<<"Please enter a account type........"<<endl;
				cin>>acctype;

				cout<<"Please enter a account id........"<<endl;
				cin>>delcustomerid;
				if(acctype==1)
				{
					int amt;
					for(int x =0; x<currentaccount1.size(); x++)
					{
						if(currentaccount1[x]->CurrentAccountid==delcustomerid)
						{
							cout<<"Account Number	:"<<delcustomerid<<endl;
							cout<<"Balance			:"<<currentaccount1[x]->Balance-currentaccount1[x]->overdraft<<endl;
							cout<<"Overdraft		:"<<currentaccount1[x]->overdraft<<endl;
							cout<<"-----------------------------------------"<<endl;
							cout<<"Available		:"<<currentaccount1[x]->Balance<<endl;
							cout<<"Please enter the ammount you want to withdraw............."<<endl;
							cin>>amt;
							currentaccount1[x]->Balance=(currentaccount1[x]->Balance+amt);
							cout<<"Account Number	:"<<delcustomerid<<endl;
							cout<<"Balance			:"<<currentaccount1[x]->Balance-currentaccount1[x]->overdraft<<endl;
							cout<<"Overdraft		:"<<currentaccount1[x]->overdraft<<endl;
							cout<<"-----------------------------------------"<<endl;
							cout<<"Available		:"<<currentaccount1[x]->Balance<<endl;
						
						}
					}
				}
								if(acctype==2)
				{
					int amt;
					for(int x =0; x<savingaccount1.size(); x++)
					{
						if(savingaccount1[x]->SavingAccountid==delcustomerid)
						{
							cout<<"Account Number	:"<<delcustomerid<<endl;
							cout<<"Balance			:"<<savingaccount1[x]->Balance-savingaccount1[x]->overdraft<<endl;
							cout<<"Overdraft		:"<<savingaccount1[x]->overdraft<<endl;
							cout<<"-----------------------------------------"<<endl;
							cout<<"Available		:"<<savingaccount1[x]->Balance<<endl;
							cout<<"Please enter the ammount you want to withdraw............."<<endl;
							cin>>amt;
							savingaccount1[x]->Balance=(savingaccount1[x]->Balance+amt);
								cout<<"Account Number	:"<<delcustomerid<<endl;
								cout<<"Balance			:"<<savingaccount1[x]->Balance-savingaccount1[x]->overdraft<<endl;
								cout<<"Overdraft		:"<<savingaccount1[x]->overdraft<<endl;
								cout<<"-----------------------------------------"<<endl;
								cout<<"Available		:"<<savingaccount1[x]->Balance<<endl;

							
							
						}
					}
				}
if(acctype==3)
				{
					int amt;
					for(int x =0; x<corporatesaving1.size(); x++)
					{
						if(corporatesaving1[x]->CorporateSavingid==delcustomerid)
						{
							cout<<"Account Number	:"<<delcustomerid<<endl;
							cout<<"Balance			:"<<corporatesaving1[x]->Balance-corporatesaving1[x]->overdraft<<endl;
							cout<<"Overdraft		:"<<corporatesaving1[x]->overdraft<<endl;
							cout<<"-----------------------------------------"<<endl;
							cout<<"Available		:"<<corporatesaving1[x]->Balance<<endl;
							cout<<"Please enter the ammount you want to withdraw............."<<endl;
							cin>>amt;
							corporatesaving1[x]->Balance=(corporatesaving1[x]->Balance+amt);
								cout<<"Account Number	:"<<delcustomerid<<endl;
								cout<<"Balance			:"<<corporatesaving1[x]->Balance-corporatesaving1[x]->overdraft<<endl;
								cout<<"Overdraft		:"<<corporatesaving1[x]->overdraft<<endl;
								cout<<"-----------------------------------------"<<endl;
								cout<<"Available		:"<<corporatesaving1[x]->Balance<<endl;

							
							
						}
					}
				}


				if(acctype==4)
				{
					int amt;
					for(int x =0; x<studentsaving1.size(); x++)
					{
						if(studentsaving1[x]->StudentSavingid==delcustomerid)
						{
							cout<<"Account Number	:"<<delcustomerid<<endl;
							cout<<"Balance			:"<<studentsaving1[x]->Balance-studentsaving1[x]->overdraft<<endl;
							cout<<"Overdraft		:"<<studentsaving1[x]->overdraft<<endl;
							cout<<"-----------------------------------------"<<endl;
							cout<<"Available		:"<<studentsaving1[x]->Balance<<endl;
							cout<<"Please enter the ammount you want to withdraw............."<<endl;
							cin>>amt;
							studentsaving1[x]->Balance=(studentsaving1[x]->Balance+amt);
								cout<<"Account Number	:"<<delcustomerid<<endl;
								cout<<"Balance			:"<<studentsaving1[x]->Balance-studentsaving1[x]->overdraft<<endl;
								cout<<"Overdraft		:"<<studentsaving1[x]->overdraft<<endl;
								cout<<"-----------------------------------------"<<endl;
								cout<<"Available		:"<<studentsaving1[x]->Balance<<endl;

							
							
						}
					}
				}
				if(acctype==5)
				{
					int amt;
					for(int x =0; x<personalloan1.size(); x++)
					{
						if(personalloan1[x]->PersonalLoanid==delcustomerid)
						{
							cout<<"Account Number	:"<<delcustomerid<<endl;
							cout<<"Balance			:"<<personalloan1[x]->Balance<<endl;
							cout<<"-----------------------------------------"<<endl;
							cout<<"Available		:"<<personalloan1[x]->Balance<<endl;
							cout<<"Please enter the ammount you want to withdraw............."<<endl;
							cin>>amt;
							personalloan1[x]->Balance=(personalloan1[x]->Balance+amt);
								cout<<"Account Number	:"<<delcustomerid<<endl;
								cout<<"Balance			:"<<personalloan1[x]->Balance<<endl;
								cout<<"-----------------------------------------"<<endl;
								cout<<"Available		:"<<personalloan1[x]->Balance<<endl;

							
							
						}
					}
				}


				if(acctype==6)
				{
					int amt;
					for(int x =0; x<corporateloan1.size(); x++)
					{
						if(corporateloan1[x]->CorporateLoanid==delcustomerid)
						{
							cout<<"Account Number	:"<<delcustomerid<<endl;
							cout<<"Balance			:"<<corporateloan1[x]->Balance<<endl;
							cout<<"-----------------------------------------"<<endl;
							cout<<"Available		:"<<corporateloan1[x]->Balance<<endl;
							cout<<"Please enter the ammount you want to withdraw............."<<endl;
							cin>>amt;
							corporateloan1[x]->Balance=(corporateloan1[x]->Balance+amt);
								cout<<"Account Number	:"<<delcustomerid<<endl;
								cout<<"Balance			:"<<corporateloan1[x]->Balance<<endl;
								cout<<"-----------------------------------------"<<endl;
								cout<<"Available		:"<<corporateloan1[x]->Balance<<endl;

							
							
						}
					}
				}
				if(acctype==7)
				{
					int amt;
					for(int x =0; x<mortgage1.size(); x++)
					{
						if(mortgage1[x]->Mortgageid==delcustomerid)
						{
							cout<<"Account Number	:"<<delcustomerid<<endl;
							cout<<"Balance			:"<<mortgage1[x]->Balance<<endl;
							cout<<"-----------------------------------------"<<endl;
							cout<<"Available		:"<<mortgage1[x]->Balance<<endl;
							cout<<"Please enter the ammount you want to withdraw............."<<endl;
							cin>>amt;
							mortgage1[x]->Balance=(mortgage1[x]->Balance+amt);
								cout<<"Account Number	:"<<delcustomerid<<endl;
								cout<<"Balance			:"<<mortgage1[x]->Balance<<endl;
								cout<<"-----------------------------------------"<<endl;
								cout<<"Available		:"<<mortgage1[x]->Balance<<endl;

							
							
						}
					}
				}
			 }
			}
			break;
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
			break;
			case 7:
			{
				int select10, select11,password;
				cout<<"Enter admin password......"<<endl;
				cin>>password;
				if(password==1234)
				{				
					do
					{
						select11 = adminmenu(select10); 
						switch (select11)
						{
							case 1:
							{
								int y=0;
								cout<<"Customerid	Accountid	Type"<<endl;	
								
								for(int x =0; x<currentaccount1.size(); x++, y++)
								{
									cout<<currentaccount1[x]->Customerid<<"		"<<currentaccount1[x]->CurrentAccountid<<"		Current Account"<<endl;	
								}

								for(int x =0; x<savingaccount1.size(); x++,y++)
								{
									cout<<savingaccount1[x]->Customerid<<"		"<<savingaccount1[x]->SavingAccountid<<"		Saving Account"<<endl;	
								}
	
								for(int x =0; x<corporatesaving1.size(); x++,y++)
								{
										cout<<corporatesaving1[x]->Customerid<<"		"<<corporatesaving1[x]->CorporateSavingid<<"		Corporate Saving"<<endl;	
								}
								for(int x =0; x<studentsaving1.size(); x++,y++)
								{
									cout<<studentsaving1[x]->Customerid<<"		"<<studentsaving1[x]->StudentSavingid<<"		Student Saving"<<endl;	
								}
								for(int x =0; x<personalloan1.size(); x++,y++)
								{
									cout<<personalloan1[x]->Customerid<<"		"<<personalloan1[x]->PersonalLoanid<<"		Personal Loan"<<endl;	
								}
								for(int x =0; x<corporateloan1.size(); x++,y++)
								{
									cout<<corporateloan1[x]->Customerid<<"		"<<corporateloan1[x]->CorporateLoanid<<"		Corporate Loan"<<endl;	
								}
								for(int x =0; x<mortgage1.size(); x++,y++)
								{
									cout<<mortgage1[x]->Customerid<<"		"<<mortgage1[x]->Mortgageid<<"		Mortgage"<<endl;	
								}
								if(y==0)
								{
									cout<<"No Customer"<<endl;
								}
								else
								{
									int wholecustomerid;
								cout<<"Please enter a Customer ID........"<<endl;
								cin>>wholecustomerid;
								for(int x =0; x<customer1.size(); x++)
								{
									if(customer1[x]->Customerid==wholecustomerid)
									{
											customer1[x]->Display();			
									}
								}
			
								for(int x =0; x<currentaccount1.size(); x++)
								{
									if(currentaccount1[x]->Customerid==wholecustomerid)
									{
											currentaccount1[x]->Display();			
									}
								}
			
								for(int x =0; x<savingaccount1.size(); x++)
								{
									if(savingaccount1[x]->Customerid==wholecustomerid)
									{
											savingaccount1[x]->Display();							
									}
							
								}
								for(int x =0; x<corporatesaving1.size(); x++)
								{
									if(corporatesaving1[x]->Customerid==wholecustomerid)
									{
										corporatesaving1[x]->Display();						
									}
								}

								for(int x =0; x<studentsaving1.size(); x++)
								{
									if(studentsaving1[x]->Customerid==wholecustomerid)
									{
										studentsaving1[x]->Display();			
									}
								}
								for(int x =0; x<personalloan1.size(); x++)
								{
									if(personalloan1[x]->Customerid==wholecustomerid)
									{
										personalloan1[x]->Display();			
									}
								}
								for(int x =0; x<corporateloan1.size(); x++)
								{
									if(corporateloan1[x]->Customerid==wholecustomerid)
									{
										corporateloan1[x]->Display();			
									}
								}
								for(int x =0; x<mortgage1.size(); x++)
								{
									if(mortgage1[x]->Customerid==wholecustomerid)
									{
										mortgage1[x]->Display();
									}
								}
								
								}
								
							}
							break;
						}
					}while (select11!=2);
				}
				else
				{
					cout<<"Wrong Password......"<<endl;
				}

	




			}
		
		}
	}while (select2!=8);

}

Waring messages below

1>f:\bank\bank\bank.cpp(35) : warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1> c:\program files\microsoft visual studio 9.0\vc\include\string.h(74) : see declaration of 'strcpy'
1>f:\bank\bank\bank.cpp(36) : warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1> c:\program files\microsoft visual studio 9.0\vc\include\string.h(74) : see declaration of 'strcpy'
1>f:\bank\bank\bank.cpp(37) : warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1> c:\program files\microsoft visual studio 9.0\vc\include\string.h(74) : see declaration of 'strcpy'
1>f:\bank\bank\bank.cpp(38) : warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1> c:\program files\microsoft visual studio 9.0\vc\include\string.h(74) : see declaration of 'strcpy'
1>f:\bank\bank\bank.cpp(71) : warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1> c:\program files\microsoft visual studio 9.0\vc\include\string.h(74) : see declaration of 'strcpy'
1>f:\bank\bank\bank.cpp(72) : warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1> c:\program files\microsoft visual studio 9.0\vc\include\string.h(74) : see declaration of 'strcpy'
1>f:\bank\bank\bank.cpp(101) : warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1> c:\program files\microsoft visual studio 9.0\vc\include\string.h(74) : see declaration of 'strcpy'
1>f:\bank\bank\bank.cpp(102) : warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1> c:\program files\microsoft visual studio 9.0\vc\include\string.h(74) : see declaration of 'strcpy'
1>f:\bank\bank\bank.cpp(131) : warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1> c:\program files\microsoft visual studio 9.0\vc\include\string.h(74) : see declaration of 'strcpy'
1>f:\bank\bank\bank.cpp(132) : warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1> c:\program files\microsoft visual studio 9.0\vc\include\string.h(74) : see declaration of 'strcpy'
1>f:\bank\bank\bank.cpp(161) : warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1> c:\program files\microsoft visual studio 9.0\vc\include\string.h(74) : see declaration of 'strcpy'
1>f:\bank\bank\bank.cpp(162) : warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1> c:\program files\microsoft visual studio 9.0\vc\include\string.h(74) : see declaration of 'strcpy'
1>f:\bank\bank\bank.cpp(193) : warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1> c:\program files\microsoft visual studio 9.0\vc\include\string.h(74) : see declaration of 'strcpy'
1>f:\bank\bank\bank.cpp(194) : warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1> c:\program files\microsoft visual studio 9.0\vc\include\string.h(74) : see declaration of 'strcpy'
1>f:\bank\bank\bank.cpp(221) : warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1> c:\program files\microsoft visual studio 9.0\vc\include\string.h(74) : see declaration of 'strcpy'
1>f:\bank\bank\bank.cpp(222) : warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1> c:\program files\microsoft visual studio 9.0\vc\include\string.h(74) : see declaration of 'strcpy'
1>f:\bank\bank\bank.cpp(252) : warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1> c:\program files\microsoft visual studio 9.0\vc\include\string.h(74) : see declaration of 'strcpy'
1>f:\bank\bank\bank.cpp(253) : warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1> c:\program files\microsoft visual studio 9.0\vc\include\string.h(74) : see declaration of 'strcpy'
1>f:\bank\bank\bank.cpp(286) : warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1> c:\program files\microsoft visual studio 9.0\vc\include\string.h(74) : see declaration of 'strcpy'
1>f:\bank\bank\bank.cpp(287) : warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1> c:\program files\microsoft visual studio 9.0\vc\include\string.h(74) : see declaration of 'strcpy'
1>f:\bank\bank\bank.cpp(327) : warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1> c:\program files\microsoft visual studio 9.0\vc\include\string.h(74) : see declaration of 'strcpy'
1>f:\bank\bank\bank.cpp(328) : warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1> c:\program files\microsoft visual studio 9.0\vc\include\string.h(74) : see declaration of 'strcpy'
1>f:\bank\bank\bank.cpp(467) : warning C4305: 'initializing' : truncation from '__int64' to 'int'
1>f:\bank\bank\bank.cpp(467) : warning C4309: 'initializing' : truncation of constant value
1>f:\bank\bank\bank.cpp(472) : warning C4996: '_strdate': This function or variable may be unsafe. Consider using _strdate_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1> c:\program files\microsoft visual studio 9.0\vc\include\time.h(188) : see declaration of '_strdate'
1>f:\bank\bank\bank.cpp(733) : warning C4018: '<' : signed/unsigned mismatch
1>f:\bank\bank\bank.cpp(744) : warning C4018: '<' : signed/unsigned mismatch
1>f:\bank\bank\bank.cpp(752) : warning C4018: '<' : signed/unsigned mismatch
1>f:\bank\bank\bank.cpp(760) : warning C4018: '<' : signed/unsigned mismatch
1>f:\bank\bank\bank.cpp(768) : warning C4018: '<' : signed/unsigned mismatch
1>f:\bank\bank\bank.cpp(776) : warning C4018: '<' : signed/unsigned mismatch
1>f:\bank\bank\bank.cpp(784) : warning C4018: '<' : signed/unsigned mismatch
1>f:\bank\bank\bank.cpp(792) : warning C4018: '<' : signed/unsigned mismatch
1>f:\bank\bank\bank.cpp(800) : warning C4018: '<' : signed/unsigned mismatch
1>f:\bank\bank\bank.cpp(808) : warning C4018: '<' : signed/unsigned mismatch
1>f:\bank\bank\bank.cpp(816) : warning C4018: '<' : signed/unsigned mismatch
1>f:\bank\bank\bank.cpp(824) : warning C4018: '<' : signed/unsigned mismatch
1>f:\bank\bank\bank.cpp(841) : warning C4018: '<' : signed/unsigned mismatch
1>f:\bank\bank\bank.cpp(1053) : warning C4018: '<' : signed/unsigned mismatch
1>f:\bank\bank\bank.cpp(1058) : warning C4018: '<' : signed/unsigned mismatch
1>f:\bank\bank\bank.cpp(1063) : warning C4018: '<' : signed/unsigned mismatch
1>f:\bank\bank\bank.cpp(1067) : warning C4018: '<' : signed/unsigned mismatch
1>f:\bank\bank\bank.cpp(1071) : warning C4018: '<' : signed/unsigned mismatch
1>f:\bank\bank\bank.cpp(1075) : warning C4018: '<' : signed/unsigned mismatch
1>f:\bank\bank\bank.cpp(1079) : warning C4018: '<' : signed/unsigned mismatch
1>f:\bank\bank\bank.cpp(1091) : warning C4018: '<' : signed/unsigned mismatch
1>f:\bank\bank\bank.cpp(1099) : warning C4018: '<' : signed/unsigned mismatch
1>f:\bank\bank\bank.cpp(1107) : warning C4018: '<' : signed/unsigned mismatch
1>f:\bank\bank\bank.cpp(1115) : warning C4018: '<' : signed/unsigned mismatch
1>f:\bank\bank\bank.cpp(1123) : warning C4018: '<' : signed/unsigned mismatch
1>f:\bank\bank\bank.cpp(1131) : warning C4018: '<' : signed/unsigned mismatch
1>f:\bank\bank\bank.cpp(1139) : warning C4018: '<' : signed/unsigned mismatch
1>f:\bank\bank\bank.cpp(1147) : warning C4018: '<' : signed/unsigned mismatch
1>f:\bank\bank\bank.cpp(1155) : warning C4018: '<' : signed/unsigned mismatch
1>f:\bank\bank\bank.cpp(1163) : warning C4018: '<' : signed/unsigned mismatch
1>f:\bank\bank\bank.cpp(1182) : warning C4018: '<' : signed/unsigned mismatch
1>f:\bank\bank\bank.cpp(1187) : warning C4018: '<' : signed/unsigned mismatch
1>f:\bank\bank\bank.cpp(1192) : warning C4018: '<' : signed/unsigned mismatch
1>f:\bank\bank\bank.cpp(1196) : warning C4018: '<' : signed/unsigned mismatch
1>f:\bank\bank\bank.cpp(1200) : warning C4018: '<' : signed/unsigned mismatch
1>f:\bank\bank\bank.cpp(1204) : warning C4018: '<' : signed/unsigned mismatch
1>f:\bank\bank\bank.cpp(1208) : warning C4018: '<' : signed/unsigned mismatch
1>f:\bank\bank\bank.cpp(1225) : warning C4018: '<' : signed/unsigned mismatch
1>f:\bank\bank\bank.cpp(1258) : warning C4018: '<' : signed/unsigned mismatch
1>f:\bank\bank\bank.cpp(1291) : warning C4018: '<' : signed/unsigned mismatch
1>f:\bank\bank\bank.cpp(1326) : warning C4018: '<' : signed/unsigned mismatch
1>f:\bank\bank\bank.cpp(1359) : warning C4018: '<' : signed/unsigned mismatch
1>f:\bank\bank\bank.cpp(1392) : warning C4018: '<' : signed/unsigned mismatch
1>f:\bank\bank\bank.cpp(1423) : warning C4018: '<' : signed/unsigned mismatch
1>f:\bank\bank\bank.cpp(1461) : warning C4018: '<' : signed/unsigned mismatch
1>f:\bank\bank\bank.cpp(1466) : warning C4018: '<' : signed/unsigned mismatch
1>f:\bank\bank\bank.cpp(1471) : warning C4018: '<' : signed/unsigned mismatch
1>f:\bank\bank\bank.cpp(1475) : warning C4018: '<' : signed/unsigned mismatch
1>f:\bank\bank\bank.cpp(1479) : warning C4018: '<' : signed/unsigned mismatch
1>f:\bank\bank\bank.cpp(1483) : warning C4018: '<' : signed/unsigned mismatch
1>f:\bank\bank\bank.cpp(1487) : warning C4018: '<' : signed/unsigned mismatch
1>f:\bank\bank\bank.cpp(1504) : warning C4018: '<' : signed/unsigned mismatch
1>f:\bank\bank\bank.cpp(1528) : warning C4018: '<' : signed/unsigned mismatch
1>f:\bank\bank\bank.cpp(1554) : warning C4018: '<' : signed/unsigned mismatch
1>f:\bank\bank\bank.cpp(1582) : warning C4018: '<' : signed/unsigned mismatch
1>f:\bank\bank\bank.cpp(1608) : warning C4018: '<' : signed/unsigned mismatch
1>f:\bank\bank\bank.cpp(1634) : warning C4018: '<' : signed/unsigned mismatch
1>f:\bank\bank\bank.cpp(1658) : warning C4018: '<' : signed/unsigned mismatch
1>f:\bank\bank\bank.cpp(1701) : warning C4018: '<' : signed/unsigned mismatch
1>f:\bank\bank\bank.cpp(1706) : warning C4018: '<' : signed/unsigned mismatch
1>f:\bank\bank\bank.cpp(1711) : warning C4018: '<' : signed/unsigned mismatch
1>f:\bank\bank\bank.cpp(1715) : warning C4018: '<' : signed/unsigned mismatch
1>f:\bank\bank\bank.cpp(1719) : warning C4018: '<' : signed/unsigned mismatch
1>f:\bank\bank\bank.cpp(1723) : warning C4018: '<' : signed/unsigned mismatch
1>f:\bank\bank\bank.cpp(1727) : warning C4018: '<' : signed/unsigned mismatch
1>f:\bank\bank\bank.cpp(1740) : warning C4018: '<' : signed/unsigned mismatch
1>f:\bank\bank\bank.cpp(1748) : warning C4018: '<' : signed/unsigned mismatch
1>f:\bank\bank\bank.cpp(1756) : warning C4018: '<' : signed/unsigned mismatch
1>f:\bank\bank\bank.cpp(1764) : warning C4018: '<' : signed/unsigned mismatch
1>f:\bank\bank\bank.cpp(1772) : warning C4018: '<' : signed/unsigned mismatch
1>f:\bank\bank\bank.cpp(1779) : warning C4018: '<' : signed/unsigned mismatch
1>f:\bank\bank\bank.cpp(1786) : warning C4018: '<' : signed/unsigned mismatch
1>f:\bank\bank\bank.cpp(1793) : warning C4018: '<' : signed/unsigned mismatch
1>f:\bank\bank\bank.cpp(487) : warning C4700: uninitialized local variable 'select1' used
1>f:\bank\bank\bank.cpp(543) : warning C4700: uninitialized local variable 'select3' used
1>f:\bank\bank\bank.cpp(689) : warning C4700: uninitialized local variable 'select5' used
1>f:\bank\bank\bank.cpp(864) : warning C4700: uninitialized local variable 'select3' used
1>f:\bank\bank\bank.cpp(1010) : warning C4700: uninitialized local variable 'select5' used
1>f:\bank\bank\bank.cpp(1693) : warning C4700: uninitialized local variable 'select10' used

Comments
Use an attachment, not 1000's of lines of unformatted mess!!!

1200 lines of uncommented and badly formatted code. No indication what the warnings are. No indications where the warnings are. How can we possibly help you? Read each line and try to figure out what lines might be the problem? Try reading the Guidelines.

This article has been dead for over six months. Start a new discussion instead.