Ray's playground

 
上一页 1 ··· 30 31 32 33 34 35 36 37 38 ··· 56 下一页

2010年8月12日

POJ 1004

摘要: codeCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--1#include<iostream>2#include<iomanip>3#include<vector>4usingnamespacestd;56intma... 阅读全文

posted @ 2010-08-12 16:08 Ray Z 阅读(189) 评论(0) 推荐(0) 编辑

2010年8月11日

POJ 1002

摘要: codeCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--1#include<iostream>2#include<map>3#include<string>4usingnamespacestd;56charmapch... 阅读全文

posted @ 2010-08-11 22:18 Ray Z 阅读(245) 评论(0) 推荐(0) 编辑

Library Organization and Containers(Chapter 16 of The C++ Programming Language)

摘要: [1] Use standard library facilities to maintain portability;[2] Don’t try to redefine standard library facilities;[3] Don’t believe that the standard library is best for everything.[4] Whe... 阅读全文

posted @ 2010-08-11 21:00 Ray Z 阅读(211) 评论(0) 推荐(0) 编辑

2010年8月10日

Synchronization and Time(Chapter 2 of Concurrent Programming on Windows)

摘要: The ideal architecture for buildingconcurrent systems demands a hybrid approach. At a coarse-grain, asynchronousagents are isolated and communicate in a mostly loosely coupledfashion; message passing ... 阅读全文

posted @ 2010-08-10 22:10 Ray Z 阅读(186) 评论(0) 推荐(0) 编辑

2010年8月8日

Class Hierarchies(Chapter 15 of The C++ Programming Language)

摘要: [1] Use ordinary multiple inheritance to express a union of features;[2] Use multiple inheritance to separate implementation details from an interface;[3] Use a virtual base to represent something com... 阅读全文

posted @ 2010-08-08 14:39 Ray Z 阅读(223) 评论(0) 推荐(0) 编辑

translation tool

摘要: codeCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--1fromxml.domimportminidom23defcreateDocument(strContentName,strDeveloper,strFile,strOutputFile):4d... 阅读全文

posted @ 2010-08-08 13:47 Ray Z 阅读(327) 评论(0) 推荐(0) 编辑

2010年8月5日

Exception Handling(Chapter 14 of The C++ Programming Language)

摘要: As for functions, theellipsis ... indicates ‘‘any argument’’, so catch(...) means ‘‘catch any exception.’’  Throwing or catching an exception affects th... 阅读全文

posted @ 2010-08-05 23:31 Ray Z 阅读(155) 评论(0) 推荐(0) 编辑

Templates(Chapter 13 of The C++ Programming Language)

摘要: [1] Use templates to express algorithms that apply to many argument types;  [2] Use templates to express containers;  [3] Provide specializations for containers of pointers to minimize code size;  [4]... 阅读全文

posted @ 2010-08-05 12:28 Ray Z 阅读(189) 评论(0) 推荐(0) 编辑

2010年8月1日

Boost.Any

摘要: Anything GoesCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--1#include<iostream>2#include<string>3#include<utility>4#include<vect... 阅读全文

posted @ 2010-08-01 13:54 Ray Z 阅读(868) 评论(0) 推荐(0) 编辑

Derived Classes(Chapter 12 of The C++ Programming Language)

摘要: An abstract class is an interface. A class hierarchy is a means of building classes incrementally.Naturally, every class provides an interface to users and some abstract classes provide significantfun... 阅读全文

posted @ 2010-08-01 10:32 Ray Z 阅读(203) 评论(0) 推荐(0) 编辑

上一页 1 ··· 30 31 32 33 34 35 36 37 38 ··· 56 下一页

导航