*: adding a threaded worker example
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
This commit is contained in:
parent
c89b8f22da
commit
d3a10d7190
4 changed files with 44 additions and 1 deletions
4
main.cpp
4
main.cpp
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue