с божьей помощью подключили curl
Этот коммит содержится в:
8
main.cpp
8
main.cpp
@@ -1,6 +1,10 @@
|
||||
#include <curl/curl.h>
|
||||
|
||||
#include "histogram.h"
|
||||
#include "text.h"
|
||||
#include "svg.h"
|
||||
|
||||
|
||||
struct Input {
|
||||
vector<double> vec;
|
||||
size_t korz{};
|
||||
@@ -20,8 +24,8 @@ Input input_data(istream& in, bool promt = false) {
|
||||
return lin;
|
||||
}
|
||||
int main() {
|
||||
|
||||
auto in = input_data(cin, true);
|
||||
curl_global_init(CURL_GLOBAL_ALL);
|
||||
auto in = input_data(cin);
|
||||
auto bins = make_histogram(in.korz, in.vec);
|
||||
show_histogram_svg(bins);
|
||||
}
|
||||
|
||||
Ссылка в новой задаче
Block a user