摘要: 函数原型: void minMaxLoc( const Mat& src, double* minVal, double* maxVal=0, Point* minLoc=0, Point* maxLoc=0, const Mat& mask=Mat() ); void minMaxLoc(const MatND& src, double* minVal, double* maxVal, int* minIdx=0, int* maxIdx=0, const MatND& mask=MatND() ); void minMaxLoc(const SparseMa 阅读全文
posted @ 2012-03-27 16:52 gaoxw0511 阅读(40134) 评论(1) 推荐(0) 编辑
摘要: char *simFilePath = "G:\\WorkSpace\\FileOperation\\SimilarityResult\\SimilarityTotalResult.txt"; simFilePath = NULL; // 正确,指针数值被赋为NULL... delete []simFilePath // 错误: 字符串指针被复制了,就是一个普通的指针类型. 一... 阅读全文
posted @ 2012-03-27 11:29 gaoxw0511 阅读(421) 评论(0) 推荐(0) 编辑