IP/Host: ---.dbn.dial-up.net
Registered: 17 years ago
Posts: 1
Rating: 0
This might sound stupid but,the idl for the assignment does not have a balance variable / field defined for account class.Are we suppsoed to create a balance variable for the account class???
IP/Host: ---.mweb.co.za
Registered: 18 years ago
Posts: 22
Rating: 0
Yes, create one in the private member area of your account implementation. The skeleton for this is already provided for you by the --c++-impl flag when you run idl.exe . Just add a suitable declaration in the file. This (Account_impl.h & its implementation Account_impl.cc) is where you implement the idl spec.