摘要: 我们的目标是从一个int的Array中,找出最小值。作为demo程序,我们先增加一个类,用来模拟Array,如下定义:class CArray { const int DefaultCapacity = 100; private int[] array; private int curPosition = -1; public CArray() { this.array=new int[DefaultCapacity]; curPosition = -1; }... 阅读全文
posted @ 2013-11-29 08:54 McKay 阅读(1580) 评论(1) 推荐(5)