main
LiTekho 2 лет назад
Родитель 73fea9ae40
Сommit 594f79f3d3

7
.gitignore поставляемый

@ -0,0 +1,7 @@
/bin
/obj
/prj.depend
/prj.layout
/type
/unitest.layout
/curl

@ -6,9 +6,9 @@
#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
{ {
vector<double> numbers; vector<double> numbers;
@ -41,6 +41,8 @@ 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_histogramm(in.numbers, in.bin_count); auto bins = make_histogramm(in.numbers, in.bin_count);

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