Добавлена библиотека curl и решены проблемы при запуске программы
Этот коммит содержится в:
2
main.cpp
2
main.cpp
@@ -5,6 +5,7 @@
|
|||||||
#include "histogram.h"
|
#include "histogram.h"
|
||||||
#include "text.h"
|
#include "text.h"
|
||||||
#include "svg.h"
|
#include "svg.h"
|
||||||
|
#include <curl/curl.h>
|
||||||
using namespace std;
|
using namespace std;
|
||||||
|
|
||||||
struct Input {
|
struct Input {
|
||||||
@@ -38,6 +39,7 @@ 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);
|
||||||
auto borders = make_borders(in.numbers, in.bin_count);
|
auto borders = make_borders(in.numbers, in.bin_count);
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user