Virtual Function

Dec 8, 2010 at 4:21am
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!
Dec 8, 2010 at 6:52am
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!
Dec 8, 2010 at 7:55pm
Topic archived. No new replies allowed.