build: изменение проекта до сборки с curl без ошибок
Этот коммит содержится в:
3
main.cpp
3
main.cpp
@@ -6,6 +6,8 @@
|
||||
#include "text.h"
|
||||
#include "svg.h"
|
||||
#include "histogram_internal.h"
|
||||
#include <curl/curl.h>
|
||||
|
||||
using namespace std;
|
||||
|
||||
struct Input {
|
||||
@@ -35,6 +37,7 @@ input_data(istream &tin, bool prompt){
|
||||
|
||||
|
||||
int main() {
|
||||
curl_global_init(CURL_GLOBAL_ALL);
|
||||
Input in = input_data(cin, false);
|
||||
auto bins = make_histogram(in.numbers, in.bin_count);
|
||||
show_histogram_svg(bins);
|
||||
|
||||
Ссылка в новой задаче
Block a user