установлена динамическая библиотека
Этот коммит содержится в:
4
main.cpp
4
main.cpp
@@ -1,8 +1,11 @@
|
|||||||
|
#include <curl/curl.h>
|
||||||
#include "histogram.h"
|
#include "histogram.h"
|
||||||
#include "text.h"
|
#include "text.h"
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include "svg.h"
|
#include "svg.h"
|
||||||
|
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
struct Input {
|
struct Input {
|
||||||
vector<double> numbers;
|
vector<double> numbers;
|
||||||
@@ -26,6 +29,7 @@ input_data(istream& in,bool promt = false) {
|
|||||||
}
|
}
|
||||||
int
|
int
|
||||||
main() {
|
main() {
|
||||||
|
curl_global_init(CURL_GLOBAL_ALL);
|
||||||
auto in = input_data(cin,true);
|
auto in = input_data(cin,true);
|
||||||
auto bins = make_histogram(in.numbers, in.bin_count);
|
auto bins = make_histogram(in.numbers, in.bin_count);
|
||||||
show_histogram_svg(bins);
|
show_histogram_svg(bins);
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user