And it's a fairly understandable error. It looks like you need to adda virtual addAccount into your account class. polymorphism doesn't work in the way you think by the looks of it.
I'm not entirely sure what you're trying to do with this program but it looks like you're getting the is a/has a relationship messed up. It sounds to me like register isn't an account, but should hold several accounts, in which case inheritance isn't the right thing. Also, if you're inheriting several things from a base class which has functionality that not all of them need, then your hierarchy is flawed.