diff --git a/main.cpp b/main.cpp index 07fc4c4..20a9414 100644 --- a/main.cpp +++ b/main.cpp @@ -1,4 +1,5 @@ #include +#include #include #include "histogram.h" #include "text.h" @@ -42,6 +43,9 @@ int main() { std::string fill = "red"; std::string stroke = "#000000"; + curl_global_init(CURL_GLOBAL_ALL); + + auto in = input_data(cin, true); auto bins = make_histogram(in.numbers, in.bin_count); show_histogram_svg(bins, fill, stroke);