Something went wrong. Try again.
Java--'s containers projects.intra.42.fr/projects/cpp-module-09
Something went wrong. Try again.
395 B · 20 lines
C++
at main
123456789101112131415161718192021#pragma once
#include <map>#include <string>
class BitcoinExchange { public: BitcoinExchange(); BitcoinExchange(const std::map<std::string, double>& data); BitcoinExchange(const BitcoinExchange& other);
BitcoinExchange& operator=(const BitcoinExchange& other);
double getValue(const std::string& date) const;
~BitcoinExchange();
private: std::map<std::string, double> data;};