ex00 edge cases and execute function
This commit is contained in:
@@ -25,6 +25,10 @@ class BitcoinExchange
|
||||
{
|
||||
private:
|
||||
std::map<std::string, double> data;
|
||||
|
||||
bool validateAll(const std::string &date, const std::string &value);
|
||||
bool validateDate(const std::string &date);
|
||||
int validateValue(const std::string &value);
|
||||
|
||||
public:
|
||||
BitcoinExchange();
|
||||
@@ -33,6 +37,7 @@ class BitcoinExchange
|
||||
~BitcoinExchange();
|
||||
|
||||
void readDatabase(std::ifstream &db);
|
||||
void execute(std::ifstream &db);
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user