diff --git a/cs-lab34.cbp b/cs-lab34.cbp
index 49b0653..00fdc54 100644
--- a/cs-lab34.cbp
+++ b/cs-lab34.cbp
@@ -32,6 +32,10 @@
+
+
+
+
diff --git a/histogram.cpp b/histogram.cpp
index 8533f35..9ec9340 100644
--- a/histogram.cpp
+++ b/histogram.cpp
@@ -1,5 +1,5 @@
#include "histogram.h"
-
+using namespace std;
static void find_minmax(const vector& numbers, double& min, double& max)
{
min = numbers[0];
@@ -16,9 +16,7 @@ static void find_minmax(const vector& numbers, double& min, double& max)
}
}
}
-
-vector
-make_histogram(const vector& numbers, size_t& bin_count)
+vector make_histogram(const vector& numbers, size_t& bin_count)
{
double min = 0;
double max = 0;
diff --git a/histogram.h b/histogram.h
index d152317..a521200 100644
--- a/histogram.h
+++ b/histogram.h
@@ -1,8 +1,10 @@
#ifndef HISTOGRAM_H_INCLUDED
#define HISTOGRAM_H_INCLUDED
+
#include
std::vector
+
make_histogram(const std::vector& numbers, size_t bin_count);
#endif // HISTOGRAM_H_INCLUDED
diff --git a/main.cpp b/main.cpp
index 2d4a82a..04c7403 100644
--- a/main.cpp
+++ b/main.cpp
@@ -25,7 +25,6 @@ input_data() {
return in;
}
-
void
show_histogram_text(const vector& bins, size_t& bin_count) {
const size_t SCREEN_WIDTH = 80;