MaxIndex
获取指定范围最大元素索引。
virtual int MaxIndex(
const int start, // 开始索引
const int count // 扫描的元素数量
) const参数
start
[输入] 开始索引。
count
[输入] 处理元素的数量。
返回值
指定范围最大元素索引, 或者在出错时 -1。
获取指定范围最大元素索引。
virtual int MaxIndex(
const int start, // 开始索引
const int count // 扫描的元素数量
) conststart
[输入] 开始索引。
count
[输入] 处理元素的数量。
指定范围最大元素索引, 或者在出错时 -1。