Trying to program a simple bank system in C++.
I programmed a bank system back in 2013 in C#. So, I'm trying to translate that code to C++, however I've hit a brick wall.
CreditAccount(decimal amount): base(amount)
    {
        //the :base(amount) calls parent constructor
        //passes on parameter amount
        //so only need to initialise additional instance variables
        ODLimit = 100;
    }
Basically, this is my CreditAccount constructor, there's multiple types of accounts, credit accounts, debit accounts etc. They all have the baseclass Account.
This code in C# would take the base constructor for Account, and allow me to keep the information from that, and add a new variable specifically for CreditAccount.
My question is: is there any alternative to this in C++?
If so, could I please have an example? or doccumentation? thank-you.
 
     
    