#include "BankCard.h" /** * Create a card for an account * @param acct the account the card is for */ BankCard::BankCard(int acct) : account(acct) { } BankCard::~BankCard() { } /** * Compare two cards. * @param o the other card * @return true if the other card and this card are for the same account. */ bool BankCard::operator== (BankCard const &o) { return o.account == account; }