diff --git a/histogram.cpp b/histogram.cpp index 344f24d..e4be4b7 100644 --- a/histogram.cpp +++ b/histogram.cpp @@ -4,7 +4,7 @@ using namespace std; -void find_minmax(const vector &numbers, double &min, double &max){ +void static find_minmax(const vector &numbers, double &min, double &max){ min = numbers[0]; max = numbers[0]; for (double x : numbers) { diff --git a/lab01.cbp b/lab01.cbp index 5f11f48..89f0c56 100644 --- a/lab01.cbp +++ b/lab01.cbp @@ -32,7 +32,11 @@ + + + +