diff --git a/src/utils.cpp b/src/utils.cpp index 795f8a3..0a42f20 100644 --- a/src/utils.cpp +++ b/src/utils.cpp @@ -4,6 +4,8 @@ #include #include +#include "config.h" + static float get_price(std::string& str) { @@ -24,7 +26,7 @@ static float get_price(std::string& str) } return 0; } -// pain 2€ 1 + static int get_quantity(std::string& str) { unsigned int quantity = 0; @@ -32,7 +34,6 @@ static int get_quantity(std::string& str) for (i = 0; i != str.size(); i++) { - std::cout << str[i] << std::endl; if (!std::isdigit(str[i])) { if (quantity != 0)