上一页 1 ··· 4 5 6 7 8 9 10 11 12 下一页
摘要: C++语言: Codee#2582501 /*02 +++++++++++++++++++++++++++++++++++++++03 author: chm04 +++++++++++++++++++++++++++++++++++++++05 */06 07 #include <map>08 #include <set>09 #include <list>10 #include <queue>11 #include <cmath>12 #include <stack>13 #include <bitset> 阅读全文
posted @ 2012-03-15 09:57 strorehouse 阅读(178) 评论(0) 推荐(0) 编辑
摘要: C++语言: Codee#2582401 /*02 +++++++++++++++++++++++++++++++++++++++03 author: chm04 +++++++++++++++++++++++++++++++++++++++05 */06 07 #include <map>08 #include <set>09 #include <list>10 #include <queue>11 #include <cmath>12 #include <stack>13 #include <bitset> 阅读全文
posted @ 2012-03-15 09:41 strorehouse 阅读(275) 评论(0) 推荐(0) 编辑
摘要: C++语言: Codee#2581401 /*02 +++++++++++++++++++++++++++++++++++++++03 author: chm04 +++++++++++++++++++++++++++++++++++++++05 */06 07 #include <map>08 #include <set>09 #include <list>10 #include <queue>11 #include <cmath>12 #include <stack>13 #include <bitset> 阅读全文
posted @ 2012-03-14 16:12 strorehouse 阅读(179) 评论(0) 推荐(0) 编辑
摘要: C++语言: Codee#2581301 /*02 +++++++++++++++++++++++++++++++++++++++03 author: chm04 +++++++++++++++++++++++++++++++++++++++05 */06 07 #include <map>08 #include <set>09 #include <list>10 #include <queue>11 #include <cmath>12 #include <stack>13 #include <bitset> 阅读全文
posted @ 2012-03-14 16:00 strorehouse 阅读(221) 评论(0) 推荐(0) 编辑
摘要: c语言结构体,以前没仔细看,原来对其理解不够。C++语言: Codee#2580101 #include <stdio.h>02 03 struct point04 {05 int x;06 int y;07 float unknown;08 };09 10 struct rect11 {12 struct point pt1;13 struct point pt2;14 };15 16 struct point makepoint(int x, int y)17 {18 struct point temp;19 20 temp.x = x;21 temp.y = y;22 ... 阅读全文
posted @ 2012-03-13 10:00 strorehouse 阅读(120) 评论(0) 推荐(0) 编辑
摘要: C++语言: Codee#2577901 /*02 +++++++++++++++++++++++++++++++++++++++03 author: chm04 +++++++++++++++++++++++++++++++++++++++05 */06 07 08 #include <map>09 #include <set>10 #include <list>11 #include <queue>12 #include <cmath>13 #include <stack>14 #include <bitset& 阅读全文
posted @ 2012-03-11 16:47 strorehouse 阅读(289) 评论(0) 推荐(0) 编辑
摘要: C++语言: Codee#2576901 /*02 +++++++++++++++++++++++++++++++++++++++03 author: chm04 +++++++++++++++++++++++++++++++++++++++05 */06 07 08 #include <map>09 #include <set>10 #include <list>11 #include <queue>12 #include <cmath>13 #include <stack>14 #include <bitset& 阅读全文
posted @ 2012-03-11 10:46 strorehouse 阅读(166) 评论(0) 推荐(0) 编辑
摘要: C++语言: Codee#2575401 // type_info example02 #include <iostream>03 #include <typeinfo>04 using namespace std;05 06 struct Base {};07 struct Derived : Base {};08 struct Poly_Base09 {10 virtual void Member() {}11 };12 struct Poly_Derived: Poly_Base {};13 14 int main()15 {16 // built-in type 阅读全文
posted @ 2012-03-10 09:48 strorehouse 阅读(197) 评论(0) 推荐(0) 编辑
摘要: C++语言: Codee#2575201 #include <iostream>02 03 using namespace std;04 05 class Trace06 {07 static int counter;08 int objid;09 public:10 Trace()11 {12 objid = ++counter;13 cout << "constructing Trace #" << objid << endl;14 if(objid == 3)15 throw 3;16 }17 ~Trace()18 {1 阅读全文
posted @ 2012-03-09 11:00 strorehouse 阅读(192) 评论(0) 推荐(0) 编辑
摘要: int setjmp ( jmp_buf env );Save calling environment for long jumpThis function with functional form takes its argument,env, and fills its content with information about the environment state in that point in the code to be able to restore that state in a later call tolongjmp.ParametersenvObject of t 阅读全文
posted @ 2012-03-08 16:39 strorehouse 阅读(203) 评论(0) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8 9 10 11 12 下一页