Добавление библиотеки curl и решены проблемы при запуске

Этот коммит содержится в:
2025-05-26 14:05:50 +03:00
родитель b4d481cfa6
Коммит 65f888ccb9

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

@@ -3,6 +3,7 @@
#include "histogram.h"
#include "text.h"
#include "svg.h"
#include "curl/include/curl/curl.h"
using namespace std;
struct Input {
@@ -33,6 +34,7 @@ Input input_data(istream& in, bool prompt) {
}
int main() {
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);