code:исправлены все ошибки при добавлении curl
Этот коммит содержится в:
@@ -5,6 +5,8 @@
|
||||
#include "text.h"
|
||||
#include <string>
|
||||
|
||||
#include <curl/curl.h>
|
||||
|
||||
using namespace std;
|
||||
|
||||
struct Input {
|
||||
@@ -34,10 +36,15 @@ Input input_data(istream& in, bool prompt) {
|
||||
|
||||
|
||||
int main() {
|
||||
curl_global_init(CURL_GLOBAL_ALL);
|
||||
|
||||
|
||||
|
||||
auto in = input_data(cin, true);
|
||||
auto bins = make_histogram(in.numbers, in.bin_count);
|
||||
show_histogram_svg(bins);
|
||||
show_histogram_text(bins);
|
||||
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Ссылка в новой задаче
Block a user