Verified:

deepcode Game profile

Member
309

Jul 25th 2011, 10:49:25

Isn't the whole point of OO to keep each object distinct and have each object maintain it's own data for greater reuseability?

The functions that manipulate the account data should be in the account class, not the banking system class. Otherwise, what ozzite said.

account
account->setdata
system->account->setdata

Edited By: deepcode on Jul 25th 2011, 10:51:48
Back To Thread
See Subsequent Edit