diff --git a/.gitignore b/.gitignore index c9adeb5..018fd33 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ /*.layout /*.depend /*.o +/curl \ No newline at end of file diff --git a/main.cpp b/main.cpp index 7649c4e..dfb0ed4 100644 --- a/main.cpp +++ b/main.cpp @@ -1,5 +1,6 @@ #include #include +#include #include "histogram.h" #include "text.h" #include "svg.h" @@ -36,6 +37,7 @@ Input input_data(istream& stream, bool prompt) { int main() { + curl_global_init(CURL_GLOBAL_ALL); Input in = input_data(cin, false); vector bins = make_histogram(in.numbers, in.bin_count); show_histogram_svg(bins);