*.cpp *.h: vim settings for 2-spaces instead of tabs

Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
This commit is contained in:
Vincent Batts 2025-02-10 13:59:55 -05:00
parent 06b00b9f97
commit 768916ff0d
Signed by: vbatts
GPG key ID: E30EFAA812C6E5ED
3 changed files with 39 additions and 34 deletions

View file

@ -1,24 +1,24 @@
#include <iostream>
using namespace std;
#include "account.h"
Account::Account ( double initial_balance ) : balance(initial_balance) {
}
Account::~Account () {
cout << "account deleted" << endl;
std::cout << "account deleted" << std::endl;
}
double Account::getBalance() const {
return balance;
return balance;
}
void Account::deposit(double amount) {
balance += amount;
balance += amount;
}
void Account::withdraw(double amount) {
balance -= amount;
balance -= amount;
}
// vim:set sts=2 sw=2 et: