上一页 1 ··· 12 13 14 15 16 17 18 19 20 ··· 63 下一页
摘要: #include "Number.h"#include #include #include "Person.h"#include #include using namespace boost;using namespace std;void main(){ boost::shared_array pArrayDatas(new int[20]); for (int i = 10; i > wait; return ; 阅读全文
posted @ 2013-07-01 21:00 Predator 阅读(1695) 评论(0) 推荐(0) 编辑
摘要: #includeusingnamespacestd;templateclassCOperation{public: COperation(Ta,Tb){this->m_a=a;this->m_b=b;} COperation(void){}; ~COperation(void){}; //加法 TAdd(Ta,Tb){returna+b;}; //减法 TSubtract(Ta,Tb){a-b;} private: Tm_a; Tm_b;}; voidmain(){ COperationintMy(100,10); cout>wait;} 阅读全文
posted @ 2013-07-01 20:57 Predator 阅读(237) 评论(0) 推荐(0) 编辑
摘要: #include #include #include #include #include #include #include "CSHOW.H"using namespace boost;using namespace std;int main(){hash_map student;student.insert(pair("ganquanfu" ,98));student.insert(pair("zhouxiaojie" ,88));//cout ::iterator hpItem;for (hpItem = student.beg 阅读全文
posted @ 2013-06-28 21:25 Predator 阅读(321) 评论(0) 推荐(0) 编辑
摘要: #pragma onceclass CDoctor{private:CDoctor(void);public:~CDoctor(void);static CDoctor* Instance();public:void Display();private: static CDoctor* instance;};#include "Doctor.h"#include using namespace std;CDoctor::CDoctor(void){}CDoctor::~CDoctor(void){}CDoctor *CDoctor::instance = NULL;CDoc 阅读全文
posted @ 2013-06-28 21:24 Predator 阅读(206) 评论(0) 推荐(0) 编辑
上一页 1 ··· 12 13 14 15 16 17 18 19 20 ··· 63 下一页