code: добавлен libcurl

Этот коммит содержится в:
2023-06-04 20:20:55 +03:00
родитель 73fea9ae40
Коммит 594f79f3d3
2 изменённых файлов: 10 добавлений и 1 удалений

7
.gitignore поставляемый Обычный файл
Просмотреть файл

@@ -0,0 +1,7 @@
/bin
/obj
/prj.depend
/prj.layout
/type
/unitest.layout
/curl

Просмотреть файл

@@ -6,9 +6,9 @@
#include "histogram.h" #include "histogram.h"
#include "text.h" #include "text.h"
#include "svg.h" #include "svg.h"
#include <curl/curl.h>
using namespace std; using namespace std;
struct Input struct Input
{ {
vector<double> numbers; vector<double> numbers;
@@ -41,6 +41,8 @@ input_data(istream& in, bool prompt)
int main() int main()
{ {
curl_global_init(CURL_GLOBAL_ALL);
auto in = input_data(cin, true); auto in = input_data(cin, true);
auto bins = make_histogramm(in.numbers, in.bin_count); auto bins = make_histogramm(in.numbers, in.bin_count);