build: добавление заголовочного файла histogram_internal.h
Этот коммит содержится в:
@@ -2,7 +2,7 @@
|
|||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
//Ôóíêöèÿ ïîèñêà ìèíèìóìà è ìàêñèììóìà
|
//Ôóíêöèÿ ïîèñêà ìèíèìóìà è ìàêñèììóìà
|
||||||
static void find_minmax(const std::vector<double>& numbers, double& Min, double& Max){
|
void find_minmax(const std::vector<double>& numbers, double& Min, double& Max){
|
||||||
Min = numbers[0];
|
Min = numbers[0];
|
||||||
Max = numbers[0];
|
Max = numbers[0];
|
||||||
for (int i = 1; i < numbers.size(); i++) {
|
for (int i = 1; i < numbers.size(); i++) {
|
||||||
|
|||||||
7
histogram_internal.h
Обычный файл
7
histogram_internal.h
Обычный файл
@@ -0,0 +1,7 @@
|
|||||||
|
#ifndef HISTOGRAM_INTERNAL_H_INCLUDED
|
||||||
|
#define HISTOGRAM_INTERNAL_H_INCLUDED
|
||||||
|
#include <vector>
|
||||||
|
|
||||||
|
void find_minmax(const std::vector<double>& numbers, double& Min, double& Max);
|
||||||
|
|
||||||
|
#endif // HISTOGRAM_INTERNAL_H_INCLUDED
|
||||||
Ссылка в новой задаче
Block a user