/* return the largest element in map[size][size] */
double map_max(size_t size, double **map) {
double max = 0;
for (int i = 0; i < size; i++) {
for (int j = 0; j < size; j++) {
if (max < map[]) {
max = map[];
}
}
}
return max;
}
これはmap [] []の中で最大の要素を返しますか? (最小の要素に対しても同じことをしますが)配列の中で最大の要素を返す
あなたのインデックスは[mcve] – KevinDTimm
'if(max