code: добавлено вызывание функции curl_global_init() и подключение библиотеки #include <curl/curl.h>

master
MokeevNV 3 недель назад
Родитель 3935c837d4
Сommit 3896b139a0

@ -1,3 +1,5 @@
#include <curl/curl.h>
#include "histogram.h"
#include "text.h"
#include "svg.h"
@ -36,6 +38,9 @@ Input input_data(istream& in, bool promt = false) {
}
int main() {
curl_global_init(CURL_GLOBAL_ALL);
auto in = input_data(cin);
auto bins = make_histogram(in.numbers, in.bin_count);
show_histogram_svg(bins);

Загрузка…
Отмена
Сохранить