From e6198d6d48c0fd5f8d72e446e0bf8216fa1cd651 Mon Sep 17 00:00:00 2001 From: Lev Date: Sat, 12 Jun 2021 18:54:00 -0500 Subject: [PATCH] Update implemented toString function --- CM2005 Object Oriented Programming/Topic 5/5.1.5/MerkelMain.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CM2005 Object Oriented Programming/Topic 5/5.1.5/MerkelMain.cpp b/CM2005 Object Oriented Programming/Topic 5/5.1.5/MerkelMain.cpp index 6d6c004..0a0e42f 100644 --- a/CM2005 Object Oriented Programming/Topic 5/5.1.5/MerkelMain.cpp +++ b/CM2005 Object Oriented Programming/Topic 5/5.1.5/MerkelMain.cpp @@ -14,6 +14,7 @@ void MerkelMain::init() { int input; currentTime = orderBook.getEarliestTime(); + wallet.insertCurrency("BTC", 10); while(true) { printMenu(); @@ -100,6 +101,7 @@ void MerkelMain::enterBid() void MerkelMain::printWallet() { std::cout << "Your wallet is empty. " << std::endl; + std::cout << wallet.toString() << std::endl; } void MerkelMain::gotoNextTimeframe()