starting ex00
This commit is contained in:
38
ex00/BitcoinExchange/BitcoinExchange.hpp
Normal file
38
ex00/BitcoinExchange/BitcoinExchange.hpp
Normal file
@@ -0,0 +1,38 @@
|
||||
/* ************************************************************************** */
|
||||
/* */
|
||||
/* ::: :::::::: */
|
||||
/* BitcoinExchange.hpp :+: :+: :+: */
|
||||
/* +:+ +:+ +:+ */
|
||||
/* By: aortigos <aortigos@student.42malaga.com> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2026/04/23 19:54:20 by aortigos #+# #+# */
|
||||
/* Updated: 2026/04/23 19:54:20 by aortigos ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
#ifndef BITCOINEXCHANGE_HPP
|
||||
# define BITCOINEXCHANGE_HPP
|
||||
|
||||
# include <iostream>
|
||||
# include <fstream>
|
||||
# include <map>
|
||||
# include <cstdlib>
|
||||
|
||||
using std::cout;
|
||||
using std::endl;
|
||||
|
||||
class BitcoinExchange
|
||||
{
|
||||
private:
|
||||
std::map<std::string, double> data;
|
||||
|
||||
public:
|
||||
BitcoinExchange();
|
||||
BitcoinExchange(const BitcoinExchange &other);
|
||||
BitcoinExchange& operator=(const BitcoinExchange &other);
|
||||
~BitcoinExchange();
|
||||
|
||||
void readDatabase(std::ifstream &db);
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user