diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..ea7be31 --- /dev/null +++ b/.gitignore @@ -0,0 +1,7 @@ +/bin +/obj +/prj.depend +/prj.layout +/type +/unitest.layout +/curl diff --git a/main.cpp b/main.cpp index b47f834..0834117 100644 --- a/main.cpp +++ b/main.cpp @@ -6,9 +6,9 @@ #include "histogram.h" #include "text.h" #include "svg.h" +#include using namespace std; - struct Input { vector numbers; @@ -41,6 +41,8 @@ input_data(istream& in, bool prompt) int main() { + curl_global_init(CURL_GLOBAL_ALL); + auto in = input_data(cin, true); auto bins = make_histogramm(in.numbers, in.bin_count);