From e29a05d5b7ab58f5b4ea00d4db14bd13c808879c Mon Sep 17 00:00:00 2001 From: liaoj12 Date: Thu, 6 Feb 2014 15:55:40 -0500 Subject: [PATCH] Update Client.h --- Client.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Client.h b/Client.h index 9f9593b..cd27aa0 100644 --- a/Client.h +++ b/Client.h @@ -9,18 +9,18 @@ #define CLIENT_H_ #include "Person.h" -#include "ExternalAccount.h" +#include "InternalAccount.h" using namespace std; -class Client { +class Client:public Person { public: Client();//constructor virtual ~Client();//destructor - ExternalAccount getHeldAccount();//function returns heldAccount - void setHeldAccount(ExternalAccount &a);//function sets the held account + InternalAccount getHeldAccount();//function returns heldAccount + void setHeldAccount(InternalAccount &a[]);//function sets the held account void copyClient(Client &into);//function copies information from another client - void viewExternalAccount();//function calls displayExternalAccount() + void viewInternalAccount();//function calls displayExternalAccount() void withdraw(); //ask the user what account they wish to withdraw from and how much //check to see that money is less than the total amount of money @@ -46,7 +46,7 @@ class Client { //the respective function protected: - ExternalAccount heldAccount; + InternalAccount heldAccount[]; };