摘要:
在OpenCv中,我们有时候需要查看CvRect变量的值,我们可以通过将其保存到文件来查看,保存的代码如下:void writeCvRectToFile(CvRect &rect, const char *filename) { CvFileStorage *fs = cvOpenFi... 阅读全文
posted @ 2015-07-27 11:32
Grandyang
阅读(687)
评论(0)
推荐(0)
摘要:
3.6 Write a program to sort a stack in ascending order (with biggest items on top). You may use at most one additional stack to hold items, but you ma... 阅读全文
posted @ 2015-07-27 06:14
Grandyang
阅读(3670)
评论(0)
推荐(0)
摘要:
3.5 Implement a MyQueue class which implements a queue using two stacks.LeetCode上的原题,请参见我之前的博客Implement Queue using Stacks 用栈来实现队列。 阅读全文
posted @ 2015-07-27 00:47
Grandyang
阅读(755)
评论(0)
推荐(0)

浙公网安备 33010602011771号