「✨」 feat(ex00): bitcoin exchange should work :D
This commit is contained in:
@@ -2,6 +2,20 @@
|
||||
|
||||
int main(int argc, char **argv)
|
||||
{
|
||||
(void) argc;
|
||||
(void) argv;
|
||||
if (argc < 2)
|
||||
{
|
||||
std::cout << "Error: could not open file." << std::endl;
|
||||
return 1;
|
||||
}
|
||||
BitcoinExchange btc;
|
||||
try
|
||||
{
|
||||
btc.str(argv[1]);
|
||||
}
|
||||
catch (std::runtime_error &e)
|
||||
{
|
||||
std::cout << e.what() << std::endl;
|
||||
return 1;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user