代码改变世界

阅读排行榜

.NET Remoting Basic(8)-事件

2010-08-26 22:58 by Clingingboy, 477 阅读, 收藏,
摘要: 远程事件也需要转化成消息,所以也需要加事件委托继承自MarshalByRefObject。实际操作如下 1.定义接口2.服务器端实现上面两步没多大悬念,关键在客户端3.客户端实现3.1定义一个继承自M... 阅读全文

Direct3D 9学习笔记(14)高级着色语言(HLSL)入门

2012-09-22 20:08 by Clingingboy, 475 阅读, 收藏,
摘要: 着色器语言 全局变量 输入输出结构 即Main入口点的输入输出数据结构,没有限定 冒号语法 入口函数 常量表 1.获取常量句柄 2.常量设置 着色器程序的编译 调用DEMO实例: ID3DXBuffer* shader = 0;ID3DXBuffer* errorBuffer = 0;hr = D3DX... 阅读全文

Gac代码库分析(1)

2012-12-09 20:27 by Clingingboy, 473 阅读, 收藏,
摘要: 基础类:Basic.h 重在学习思想,难得的开源库 简单介绍,猜测意图 一.基本类型 1.NotCopyable 意图:阻止继承子类被拷贝 .h class NotCopyable{private: NotCopyable(const NotCopyable&); NotCopyable& operator=(const NotCopyable&);public: ... 阅读全文

(转)英语学习者的十句经典名言

2008-12-06 22:02 by Clingingboy, 471 阅读, 收藏,
摘要: http://blog.csdn.net/hdhai9451/archive/2008/12/06/3459565.aspx 1. What is language for? Some people seem to think it's for practicing grammar rules and learning lists of words--- the longer the word... 阅读全文

Gac代码库分析(2)Event和Func

2012-12-09 21:43 by Clingingboy, 470 阅读, 收藏,
摘要: 一.Event 1.Event一般都是Func的封装,即Func的集合执行. 以2个参数的为例 template< typename T0,typename T1>class Event<void(T0,T1)> : public Object, private NotCopyable{protected: collections::SortedList<Func<void(T0... 阅读全文
上一页 1 ··· 113 114 115 116 117 118 119 120 121 ··· 131 下一页