#include "BitcoinExchange.hpp" int main(int argc, char **argv) { if (argc < 2) { std::cout << "Error: could not open file." << std::endl; return 1; } try { BitcoinExchange btc; btc.str(argv[1]); } catch (std::runtime_error &e) { std::cout << e.what() << std::endl; return 1; } return 0; }