code: пункт 3.2 разделение программы

master
Alexander (AntonovichAN) 7 месяцев назад
Родитель 14a2f83860
Сommit 4809308b5a

@ -4,7 +4,7 @@
using namespace std; using namespace std;
void find_minmax(const vector<double> &numbers, double &min, double &max){ void static 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) {

@ -32,7 +32,11 @@
<Add option="-Wall" /> <Add option="-Wall" />
<Add option="-fexceptions" /> <Add option="-fexceptions" />
</Compiler> </Compiler>
<Unit filename="histogram.cpp" />
<Unit filename="histogram.h" />
<Unit filename="main.cpp" /> <Unit filename="main.cpp" />
<Unit filename="text.cpp" />
<Unit filename="text.h" />
<Extensions /> <Extensions />
</Project> </Project>
</CodeBlocks_project_file> </CodeBlocks_project_file>

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