Virtual Function

Hi everyone.

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!
if you have any code,please share with us.
if i can,i 'll help you.
if you speak only,it is very difficultly.
good luck!
Topic archived. No new replies allowed.