Нужно перегрузить функцию FillRand() для типов данных float double. const int ROWS = 4; const int COLS = 3; template<typename T>void FillRand(T Arr[ROWS][COLS], const int ROWS, const int COLS); template<typename T>void FillRand(T Arr[], const int n); Код const int ROWS = 4; const int COLS = 3; template<typename T>void FillRand(T Arr[ROWS][COLS], const int ROWS, const int COLS); template<typename T>void FillRand(T Arr[], const int n); И если можно, обьясните как перегрузить, или дайте источник, где можно почитать