code:Добавлено подключение нового заголовка ...internal

main
PARZIVAL (BreganIM) 3 месяцев назад
Родитель 61b9f1e79d
Сommit 37ffcf9839

@ -1,9 +1,10 @@
#include "histogram.h" #include "histogram.h"
#include "histogram_internal.h"
#include <iostream> #include <iostream>
#include <vector> #include <vector>
using namespace std; using namespace std;
static void find_minmax(const vector<double>& numbers, double& min, double& max) { void find_minmax(const vector<double>& numbers, double& min, double& max) {
min = numbers[0]; min = numbers[0];
max = numbers[0]; max = numbers[0];
for (double x : numbers) { for (double x : numbers) {

Загрузка…
Отмена
Сохранить