智慧 + 毅力 = 无所不能

正确性、健壮性、可靠性、效率、易用性、可读性、可复用性、兼容性、可移植性...

导航

2009年10月14日

摘要: 例:double avg(const vector<int> & arr , int n , bool & errorFlag);1> 按常量引用调用 const vector<int> & arr ;适用于不被函数更改的大对象 ;2> 按值调用 int n ;适用于不被函数更改的小对象 ;3> 引址调用 bool & er... 阅读全文

posted @ 2009-10-14 14:35 Bill Yuan 阅读(237) 评论(1) 推荐(0) 编辑