I'm at my wits end for an assignment I need to do for my c++ class. We've had to create a bank application with various types of accounts. Each one must allow for a deposit,withdraw, and a transfer between any account. Heres my problem, I've got everything done except for the transfer. The instructor wants us to use a virtual function for that, and for the life of me I can not figure out how to do this. I have a basic understanding of virtual functions, but I have no idea how to have this "transfer" function call the functions in other classes.
Any help you can give is greatly appreciated, and thanks!