code: добавлена библиотека cURL

main
Krivobokov Nikolay 3 недель назад
Родитель eac1e46866
Сommit d434220791

@ -1,4 +1,5 @@
#include <iostream>
#include <curl/curl.h>
#include <vector>
#include "histogram.h"
#include "text.h"
@ -42,6 +43,9 @@ int main() {
std::string fill = "red";
std::string stroke = "#000000";
curl_global_init(CURL_GLOBAL_ALL);
auto in = input_data(cin, true);
auto bins = make_histogram(in.numbers, in.bin_count);
show_histogram_svg(bins, fill, stroke);

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