code: изменение программы

master
KriviAS 1 год назад
Родитель 37a21ea610
Сommit 0f842ad12d

@ -1,6 +1,10 @@
#include <iostream>
#include <conio.h>
#include <vector>
#include "histogram.h"
#include "text.h"
#include "svg.h"
using namespace std;
struct Input {
vector<double> numbers;
@ -119,6 +123,6 @@ int main()
const size_t MAX_ASTERISK = SCREEN_WIDTH - 3 - 1;
auto in = input_data();
auto bins = make_histogram(in.numbers, in.bin_count);
show_histogram_text(bins, MAX_ASTERISK);
show_histogram_svg(bins);
return 0;
}

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