code: Добавление curl
Этот коммит содержится в:
@@ -4,6 +4,7 @@
|
|||||||
#include "text.h"
|
#include "text.h"
|
||||||
#include "histogram_internal.h"
|
#include "histogram_internal.h"
|
||||||
#include "svg.h"
|
#include "svg.h"
|
||||||
|
#include <curl/curl.h>
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
|
|
||||||
@@ -30,9 +31,10 @@ input_data(istream& inn, bool promt) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
int main() {
|
int main() {
|
||||||
Input in = input_data(cin);
|
curl_global_init(CURL_GLOBAL_ALL);
|
||||||
|
bool promt = true;
|
||||||
|
Input in = input_data(cin, promt);
|
||||||
auto bins = make_histogram(in.numbers, in.bin_count);
|
auto bins = make_histogram(in.numbers, in.bin_count);
|
||||||
show_histogram_text(bins);
|
|
||||||
show_histogram_svg(bins);
|
show_histogram_svg(bins);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
Ссылка в новой задаче
Block a user