Searched refs:balance_ (Results 1 – 11 of 11) sorted by relevance
13 int balance_ = 0; member in bank_account23 balance_ += amount; in deposit()33 if (balance_ >= amount) in withdraw()34 balance_ -= amount; in withdraw()44 std::cout << "balance = " << balance_ << "\n"; in print_balance()
13 int balance_ = 0; member in bank_account24 balance_ += amount; in deposit()35 if (balance_ >= amount) in withdraw()36 balance_ -= amount; in withdraw()48 result = balance_; in balance()
23 int balance_; member in BankAccount27 balance_ += amount; in Deposit()31 balance_ -= amount; in Withdraw()35 return balance_; in GetBalance()
65 int balance_;69 balance_ += amount;74 balance_ -= amount;79 int b = balance_;93 int balance_;97 balance_ += amount;101 balance_ -= amount;105 return balance_;148 int balance_;152 balance_ += amount;[all …]
21 int balance_;25 balance_ += amount;29 balance_ -= amount;33 return balance_;78 int balance_;82 balance_ += amount;86 balance_ -= amount;103 int balance_;108 balance_ += amount;113 balance_ -= amount;[all …]
22 int balance_; member41 static balance get_balance(const_node_ptr n) { return n->balance_; } in get_balance()42 static void set_balance(node_ptr n, balance b) { n->balance_ = b; } in set_balance()
58 balance balance_; member100 { return n->balance_; } in get_balance()103 { return n->balance_; } in get_balance()106 { n->balance_ = b; } in set_balance()