tmp.c/main.cpp
Vincent Batts 768916ff0d
*.cpp *.h: vim settings for 2-spaces instead of tabs
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2025-02-10 13:59:55 -05:00

36 lines
855 B
C++

/*
* =====================================================================================
*
* Filename: main.cpp
*
* Description: learning C++ [again]
*
* Version: 1.0
* Created: 02/08/2025 11:05:02 AM
* Revision: none
* Compiler: g++
*
* Author: Vincent Batts (vbatts@hashbangbash.com)
* Organization: HashBangBash
*
* =====================================================================================
*/
#include <iostream>
#include <cmath>
#include <cstdlib>
#include "account.h"
using namespace std;
int main(int argc, char* argv[]) {
Account account(0.0);
account.deposit(100.5); // Add some money
account.deposit(50.25); // Add more money
std::cout << "Current Balance: " << account.getBalance() << std::endl;
return EXIT_SUCCESS;
}
// vim:set sts=2 sw=2 et: