From dad54d716b9290ac6a37ce77e3b32864a3da1b75 Mon Sep 17 00:00:00 2001 From: KIrsanovEs Date: Sun, 23 Apr 2023 19:12:52 +0300 Subject: [PATCH] =?UTF-8?q?code:=20=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=D0=B0=20=D1=84=D1=83=D0=BD=D0=BA=D1=86=D0=B8=D1=8F?= =?UTF-8?q?=20=D0=B2=D1=8B=D0=B2=D0=BE=D0=B4=D0=B0=20=D0=B3=D0=B8=D1=81?= =?UTF-8?q?=D1=82=D0=BE=D0=B3=D1=80=D0=B0=D0=BC=D1=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.cpp | 9 +-------- text.cpp | 10 ++++++++++ text.h | 7 +++++++ 3 files changed, 18 insertions(+), 8 deletions(-) create mode 100644 text.cpp create mode 100644 text.h diff --git a/main.cpp b/main.cpp index dfce5bc..fd8e664 100644 --- a/main.cpp +++ b/main.cpp @@ -1,7 +1,7 @@ #include #include #include "histogram.h" - +#include "text.h" using namespace std; struct Input { @@ -22,13 +22,6 @@ input_data(){ cin >> in.bin_count; return in; } -void show_histogram(vector bins,size_t bin_count){ - for(size_t i=0;i +using namespace std; +void show_histogram(vector bins,size_t bin_count){ + for(size_t i=0;i +void show_histogram(std::vector bins,size_t bin_count); + +#endif // TEXT_H_INCLUDED