摘要: 1.C++继承经典例子 1 #include 2 using namespace std; 3 class Base 4 { 5 private: 6 int b_number; 7 public: 8 Base(){} 9 Base(int i) : b_number(i... 阅读全文
posted @ 2015-01-05 21:49 Ryan in C++ 阅读(368) 评论(0) 推荐(0) 编辑
摘要: 1 //without comments 2 3 int chooseECNSlot() 4 { 5 double maxProgress=0; 6 for(int i=0;i2*count) 9 { 10 double ti... 阅读全文
posted @ 2015-01-05 09:49 Ryan in C++ 阅读(370) 评论(0) 推荐(0) 编辑