*: adding a threaded worker example

Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
This commit is contained in:
Vincent Batts 2025-02-08 19:56:52 -05:00
parent c89b8f22da
commit d3a10d7190
Signed by: vbatts
GPG key ID: E30EFAA812C6E5ED
4 changed files with 44 additions and 1 deletions

View file

@ -25,5 +25,9 @@ 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;
}