you have a couple of problems here.
first, you are trying to create a function pointer to a non-static class member function. this is bad and should probably never be done. the problem is that the function you'd be calling (if you called it successfully) would have an invalid "this" pointer, which can cause unexpected behavior.
compounding that, you are trying to link to a virtual function. since virtual functions are dynamically linked (the function address is looked up in the virtual function table on every call), you cannot directly use the address of this function.
if you want to do this the way you are currently doing it, i would implement functions like these (as static functions):
Code:
static cBankAcct::doDeposit(cBankAcct *PAcct)
{
PAcct->Deposit();
}
then you can do:
Code:
void (* Transaction[3])(cBankAcct *) ={cBankAcct::doDeposit, cBankAcct::doWithdrawl, cBankAcct::doShowAll};