ex00 finished
This commit is contained in:
@@ -6,19 +6,22 @@
|
||||
/* By: aortigos <aortigos@student.42malaga.com +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2026/04/23 19:58:34 by aortigos #+# #+# */
|
||||
/* Updated: 2026/04/24 00:32:28 by aortigos ### ########.fr */
|
||||
/* Updated: 2026/04/24 12:15:14 by aortigos ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
#include "BitcoinExchange/BitcoinExchange.hpp"
|
||||
using std::cout;
|
||||
using std::endl;
|
||||
|
||||
|
||||
int main(int argc, char **argv)
|
||||
{
|
||||
|
||||
if (argc != 2)
|
||||
{
|
||||
cout << "Usage: ./btc <database>" << endl;
|
||||
return (0);
|
||||
cout << "Error: could not open file." << endl;
|
||||
return (1);
|
||||
}
|
||||
|
||||
std::ifstream database("data.csv");
|
||||
|
||||
Reference in New Issue
Block a user