ex00 edge cases and execute function

This commit is contained in:
2026-04-24 01:20:07 +02:00
parent 7afb0335ef
commit c28623442e
7 changed files with 132 additions and 6 deletions

View File

@@ -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