Title is No Title

not very good here!

导航

上一页 1 2 3 4 5 6 7 8 9 ··· 13 下一页

2004年3月31日 #

STL is very important,so we learn.

摘要: 什麽是STL呢?STL就是Standard Template Library,标准模板库。这可能是一个历史上最令人兴奋的工具的最无聊的术语。从根本上说,STL是一些“容器”的集合,这些“容器”有list,vector,set,map等,STL也是算法和其他一些组件的集合。这里的“容器”和算法的集合指的是世界上很多聪明人很多年的杰作。 STL的目的是标准化组件,这样你就不用重新开... 阅读全文

posted @ 2004-03-31 17:04 abraham 阅读(622) 评论(0) 推荐(0) 编辑

print a bmp 2

摘要: /* HDC hDC, 打印机dc HBITMAP hBmp, 待打印位图 int iX, 位图的左上角点x坐标 int iY, 位图的左上角点y坐标 double dScaleX, 打印机分辨率和屏幕分辨率x方向的比值,在没有指... 阅读全文

posted @ 2004-03-31 16:40 abraham 阅读(526) 评论(0) 推荐(0) 编辑

Create COM step by step 2.

摘要: 第七步 实现IClassFactory的方法 实现类CAddFactory的方法。创建一个新文件(AddObjFactory.cpp)。提供类IUnknown和IClassFactory的方法实现。AddRef,Release和QueryInterface方法实现和前面类CAddObj中这三个函数实现基本一样。在方法CreateInstance中,类CaddObj被实例化并且传回其接口指针。L... 阅读全文

posted @ 2004-03-31 16:23 abraham 阅读(702) 评论(1) 推荐(0) 编辑

Create com step by step.1

摘要: 目录: 介绍 接口 第一步:创建IDL文件 第二步:生成类型库 第三步:从IAdd继承 第四步:实现IAdd的方法 第五步:实现IUnkown 第六步:类工厂 第七步:实现IClassFactory的方法 第八步:实现DllGetClassObject 第九步:实现DllCanUnloadNow 第十步:DllRegisterServer和UnregisterServer 第十一步:将IDL文... 阅读全文

posted @ 2004-03-31 16:18 abraham 阅读(1167) 评论(0) 推荐(0) 编辑

上一页 1 2 3 4 5 6 7 8 9 ··· 13 下一页