code:исправлены все ошибки при добавлении curl

main
PARZIVAL (BreganIM) 1 месяц назад
Родитель 09c75c3057
Сommit 4813bf8c13

@ -5,6 +5,8 @@
#include "text.h" #include "text.h"
#include <string> #include <string>
#include <curl/curl.h>
using namespace std; using namespace std;
struct Input { struct Input {
@ -34,10 +36,15 @@ Input input_data(istream& in, bool prompt) {
int main() { int 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);
show_histogram_text(bins); show_histogram_text(bins);
return 0; return 0;
} }

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