ex00: add: main

This commit is contained in:
Camille Chauvet
2023-10-03 15:27:34 +00:00
parent 76f13820ad
commit 049aeafde0
3 changed files with 19 additions and 14 deletions

14
ex00/src/main.cpp Normal file
View File

@ -0,0 +1,14 @@
#include <iostream>
#include "BitcoinExchange.hpp"
int main(int ac, char** av)
{
if (ac != 2)
{
std::cout << "error: missing file" << std::endl;
return 1;
}
get_price(std::string(av[1]));
return 0;
}