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

Этот коммит содержится в:
KriviAS
2024-04-21 21:12:59 +03:00
родитель 37a21ea610
Коммит 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;
}