代码改变世界

阅读排行榜

WCF Basic(2)-服务契约继承

2010-08-26 23:06 by Clingingboy, 462 阅读, 收藏,
摘要: 1 wcf允许接口契约继承,但每个接口必须明确以ServiceContract来声明,不能因为是继承,而忽略了父类的声明.如下声明2.实现 3.config配置 4.客户端生成 5.客户端可以指向父级... 阅读全文

c++ template(5)模板实战

2013-03-13 14:04 by Clingingboy, 458 阅读, 收藏,
摘要: 一.包含模型 一份头文件hpp,一份cpp实现文件 hpp: #ifndef MYFIRST_HPP#define MYFIRST_HPP// declaration of templatetemplate <typename T> void print_typeof (T const&);#endif // MYFIRST_HPPcpp:#include <iostream>#inc... 阅读全文

c++ primer学习笔记(5)-函数(1)

2011-02-24 19:58 by Clingingboy, 458 阅读, 收藏,
摘要: 一.基础 1.无参函数 #include <iostream>#include <string>//无参数,无返回值void SayHello(){ std::cout << "Hello" <<... 阅读全文

命令模式(Command Pattern)

2010-08-26 23:10 by Clingingboy, 456 阅读, 收藏,
摘要: using System; class CommandPattern { // Command Pattern Judith Bishop June 2007 // // Uses a single delegate for the single type of commands that the client invokes. delegate void Invoker (); static I... 阅读全文

二叉排序树

2011-01-21 14:53 by Clingingboy, 451 阅读, 收藏,
摘要:   1.  2 阅读全文
上一页 1 ··· 115 116 117 118 119 120 121 122 123 ··· 131 下一页