d2jsp
Log InRegister
d2jsp Forums > Off-Topic > Computers & IT > Programming & Development > Easy Syntax
Prev12
Add Reply New Topic New Poll
Member
Posts: 13,425
Joined: Sep 29 2007
Gold: 0.00
Warn: 20%
Sep 21 2014 08:14pm
Quote (Trig @ Sep 21 2014 07:33pm)
I dont know whats going on :[


Do you have a `baccount.cpp` file. I assume you did not code the functions for the class yet. You have a class template which outlines the functions required, but you need to code them yourself. For example Bankaccount::name() should be a get method which returns the account holders name. It would access the private variable you defined in your .h class.

This post was edited by AbDuCt on Sep 21 2014 08:16pm
Go Back To Programming & Development Topic List
Prev12
Add Reply New Topic New Poll