(1) reads two-dimensional positive floating point data (of size 4X5) from input file “twoD.data”,
(2) calls a function “row_max()”
The function “row_max()” receives a two-dimensional array of type “float”, finds the maximum element in each row, and stores the index of that element in the corresponding position of a one-dimensional ‘int’ array (e.g., stores the index of the maximum element from row 2 in element 2 of the one-dimensional array), and display one dimensional array on screen.
이거 어케함 ㅅㅂ
영어 올려놓고 어떻게 하냐니? 해석하란 말이냐?