/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* main.cpp :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: aortigos " << endl; return (0); } std::ifstream inFile(argv[1]); if (!inFile) { cout << "Error: could not open database." << endl; return (1); } BitcoinExchange bc; try { bc.readDatabase(inFile); } catch (std::exception &e) { std::cout << e.what() << std::endl; } return (0); }