Update implemented toString function
This commit is contained in:
21
CM2005 Object Oriented Programming/Topic 5/5.1.5/Wallet.cpp
Normal file
21
CM2005 Object Oriented Programming/Topic 5/5.1.5/Wallet.cpp
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
#include "Wallet.h"
|
||||||
|
|
||||||
|
Wallet::Wallet()
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
void Wallet::insertCurrency(std::string type, double amount)
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
bool Wallet::containsCurrency(std::string type, double amount)
|
||||||
|
{
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string Wallet::toString()
|
||||||
|
{
|
||||||
|
return "Oink!";
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user