From c53dd6003b8b6a37d669f7439ee25d418ca9cddf Mon Sep 17 00:00:00 2001 From: VinogradovMA Date: Sun, 27 Apr 2025 19:47:52 +0300 Subject: [PATCH] code:split_on_files[3] --- histogram.cpp | 1 + histogram.h | 9 +++++++++ 2 files changed, 10 insertions(+) create mode 100644 histogram.cpp create mode 100644 histogram.h diff --git a/histogram.cpp b/histogram.cpp new file mode 100644 index 0000000..3524762 --- /dev/null +++ b/histogram.cpp @@ -0,0 +1 @@ +#include "histogram.h" diff --git a/histogram.h b/histogram.h new file mode 100644 index 0000000..f9e7eb8 --- /dev/null +++ b/histogram.h @@ -0,0 +1,9 @@ +#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