」 feat(ex00): bitcoin exchange should work :D

This commit is contained in:
y-syo
2025-08-27 07:50:49 +02:00
parent 7ca9f83c32
commit b9919ed1e6
5 changed files with 119 additions and 15 deletions

View File

@@ -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;
}