Link to home
Start Free TrialLog in
Avatar of cpu4ghz
cpu4ghz

asked on

const members

Could someone please explain to me how to create constant members. i tried initializing the constant in the constructor, but the compiler complains and requests that i initialize the member in the constructor base/member initializer list, what does this mean??

ASKER CERTIFIED SOLUTION
Avatar of mnashadka
mnashadka

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of cpu4ghz
cpu4ghz

ASKER

Thanks alot for your help.