摘要:
#include #include using namespace std; double vals[] = {10.1, 12.6, 33.1, 24.1, 50.0}; double[]& setValues( int i ) { return vals; // return a reference to the ith element } // main fu... 阅读全文
摘要:
// constructing sets #include #include #include bool fncomp (int lhs, int rhs) {return lhs first; // empty set of ints int myints[]= {10,20,30,40,50}; std::set sec... 阅读全文