diff --git a/.gitignore b/.gitignore index 3bd3283..9e17fde 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,5 @@ /bin /obj -/lab1.layout \ No newline at end of file +/lab1.layout +/curl +/lab1.depend \ No newline at end of file diff --git a/lab1.depend b/lab1.depend index c274f96..9ff1b94 100644 --- a/lab1.depend +++ b/lab1.depend @@ -13,10 +13,12 @@ -1747403061 source:c:\users\professional\desktop\cs-lab34\lab1\main.cpp +1747642974 source:c:\users\professional\desktop\cs-lab34\lab1\main.cpp "histogram.h" "text.h" "svg.h" + + 1747403716 c:\users\professional\desktop\cs-lab34\lab1\svg.h diff --git a/main.cpp b/main.cpp index 279581f..c2d2dd4 100644 --- a/main.cpp +++ b/main.cpp @@ -1,3 +1,6 @@ +#include + + #include "histogram.h" #include "text.h" #include "svg.h" @@ -37,7 +40,7 @@ Input input_data(istream &in, bool prompt) { } int main() { - + curl_global_init(CURL_GLOBAL_ALL); auto in_with_prompt = input_data(cin, true); auto bins_with_prompt = make_histogram(in_with_prompt.korz, in_with_prompt.vec); show_histogram_svg(bins_with_prompt);