2015年3月28日

程序单元测试

摘要: 题目 查找数组中的最大值思路:先设计一个求数组中最大值的一个函数,再由主函数调用。代码实现#includeusing namespace std;int largest(int a[],int length){ int i,max=a[0]; if(a==NULL || length==0)... 阅读全文

posted @ 2015-03-28 16:22 wshtl 阅读(177) 评论(0) 推荐(0)

导航