From d18919818e280861bca1c3eb90a3791c7e74be4b Mon Sep 17 00:00:00 2001 From: MelnikovDM Date: Mon, 13 May 2024 15:11:24 +0300 Subject: [PATCH] code: third commit in lab 4 --- .gitignore | 3 ++- labor01.cpp | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index dd5cc98..0c9c351 100644 --- a/.gitignore +++ b/.gitignore @@ -2,4 +2,5 @@ /x64 /labor01.vcxproj /labor01.vcxproj.filters -/labor01.vcxproj.user \ No newline at end of file +/labor01.vcxproj.user +/curl/ \ No newline at end of file diff --git a/labor01.cpp b/labor01.cpp index cc46cbd..89e5a76 100644 --- a/labor01.cpp +++ b/labor01.cpp @@ -4,6 +4,7 @@ #include #include "text.h" #include "svg.h" +#include using namespace std; struct Input { @@ -42,6 +43,7 @@ input_data(istream& inn, bool promt) { int main() { + curl_global_init(CURL_GLOBAL_ALL); bool promt = true; auto in = input_data(cin, promt); auto bins = make_histogram(in.numbers, in.bin_count);