diff --git a/lab34.cpp b/lab34.cpp index 1085a65..0f095cb 100644 --- a/lab34.cpp +++ b/lab34.cpp @@ -4,6 +4,7 @@ #include "text.h" #include "histogram_internal.h" #include "svg.h" +#include using namespace std; @@ -30,9 +31,10 @@ input_data(istream& inn, bool promt) { } int main() { - Input in = input_data(cin); + curl_global_init(CURL_GLOBAL_ALL); + bool promt = true; + Input in = input_data(cin, promt); auto bins = make_histogram(in.numbers, in.bin_count); - show_histogram_text(bins); show_histogram_svg(bins); return 0; } \ No newline at end of file