main.cpp 1.1 KB

123456789101112131415161718192021222324252627
  1. /* ************************************************************************** */
  2. /* */
  3. /* ::: :::::::: */
  4. /* main.cpp :+: :+: :+: */
  5. /* +:+ +:+ +:+ */
  6. /* By: bchanot <bchanot@42.fr> +#+ +:+ +#+ */
  7. /* +#+#+#+#+#+ +#+ */
  8. /* Created: 2026/01/13 17:54:18 by bchanot #+# #+# */
  9. /* Updated: 2026/01/16 19:33:09 by bchanot ### ########.fr */
  10. /* */
  11. /* ************************************************************************** */
  12. #include "BitcoinExchange.hpp"
  13. int main(int ac, char **av)
  14. {
  15. std::map<Date, float> Data;
  16. if (ac != 2) {
  17. std::cout << "Error : no file specified." << std::endl;
  18. throw std::exception();
  19. }
  20. ft_getcsv(Data);
  21. ft_process(av, Data);
  22. return 0;
  23. }