build: изменение проекта до сборки с curl без ошибок

main
NemykinNO 2 лет назад
Родитель 83c4458ceb
Сommit 5a63a7ad3b

@ -6,6 +6,7 @@
#include "text.h" #include "text.h"
#include "svg.h" #include "svg.h"
#include "histogram_internal.h" #include "histogram_internal.h"
#include <curl/curl.h>
using namespace std; using namespace std;
struct Input { struct Input {
@ -32,9 +33,11 @@ input_data(istream &tin, bool prompt){
tin >> in.bin_count; tin >> in.bin_count;
return in; return in;
} }
//
int main() { int main() {
curl_global_init(CURL_GLOBAL_ALL);
Input in = input_data(cin, false); Input in = input_data(cin, false);
auto bins = make_histogramm(in.numbers, in.bin_count); auto bins = make_histogramm(in.numbers, in.bin_count);
show_histogram_svg(bins); show_histogram_svg(bins);

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