叮当小说网 找小说网 无限小说网 红尘小说网 幻想小说网 酷文学 深夜书屋

2005年4月8日

Item01: 数据提取(Data Abstraction)

摘要: Item01: Data Abstraction--------------------------------------------type是一系列的操作abstract data type 是一系列的拥有实现的操作---------------------------------------... 阅读全文

posted @ 2005-04-08 09:31 麦哲思科技 阅读(102) 评论(0) 推荐(0)

2005年3月26日

使用Singleton需要考虑内存释放

摘要: GoF[p84]所说的Singleton没有考虑到内存的释放解决方法:1、加入一个成员函数DestroyInstance()来释放内存,在整个工程中需且仅需调用DestroyInstance()一次。2、ME中说用智能指针 阅读全文

posted @ 2005-03-26 15:26 麦哲思科技 阅读(90) 评论(0) 推荐(0)

std::oststream VS std::ostringstream

摘要: 用如下程序段在for循环中分别测试std::oststream 和 std::ostringstream,可以发现std::oststream 有内存泄露,最好使用std::ostringstream。 std::ostringstream oss, oss2; std::string ... 阅读全文

posted @ 2005-03-26 15:13 麦哲思科技 阅读(148) 评论(0) 推荐(0)

2005年3月9日

使用回调函数发送自定义“消息”

摘要: 使用回调函数发送自定义“消息”之how to do 1、 定义回调函数原型和回调消息在这里我们定义回调函数的参数为3个,类型均为unsigned int第一个为主ID,第二个为子ID,第三个为发送的数据。(可以根据自己的需要任意设置回调函数的参数个数及类型。)typedef void (*Cal... 阅读全文

posted @ 2005-03-09 10:56 麦哲思科技 阅读(222) 评论(0) 推荐(0)

2005年2月27日

Sieve of Eratosthenes[ZT]

摘要: Eratosthenes also conceived the "Sieve of Eratosthenes ", a method of identifying prime numbers. A prime number is a natural number greater than 1 th... 阅读全文

posted @ 2005-02-27 15:47 麦哲思科技 阅读(99) 评论(0) 推荐(0)

2005年2月26日

std::map初体验

摘要: /* This exercise is in the field of bibliometric (words and text) analysis. You will be provided with a text file, which consists of several paragrap... 阅读全文

posted @ 2005-02-26 13:35 麦哲思科技 阅读(100) 评论(0) 推荐(0)

2005年1月13日

英语(1)备考——词汇

摘要: U11 tackle : to handle ,to deal with boon: something useful; a favor revamp: to upgrade; to give a new structure to som... 阅读全文

posted @ 2005-01-13 14:19 麦哲思科技 阅读(265) 评论(0) 推荐(0)

2005年1月10日

英语(1)备考——翻译

摘要: U11 1. With the rapid advance of space technology in civilian(民用), military, intelligence gathering(情报收集), and other fields, larger telescope will ... 阅读全文

posted @ 2005-01-10 11:32 麦哲思科技 阅读(606) 评论(0) 推荐(0)

2004年12月28日

又一本被译者糟蹋的书

摘要: 又一本被译者糟蹋的书 Roger S. Pressman是软件工程领域的知名权威,他的《软件工程——实践者的研究方法》一书是软件工程领域的经典之作,现在已经到第六版了。该书第五版的中文版译者听起来也是一位顶呱呱的大师:北大计算机科学技术教授、博导,他从事的领域更是五花八门,犹如是计算机领域的全才。... 阅读全文

posted @ 2004-12-28 11:12 麦哲思科技 阅读(152) 评论(0) 推荐(0)

2004年11月20日

UML的五类图(UML笔记)

摘要: UML的内容可以由下列五类图(共9种图形)来定义: ·第一类是用例图,从用户角度描述系统功能,并指出各功能的操作者。 ·第二类是静态图(Static diagram),包括类图、对象图和包图。其中类图描述系统中类的静态结构。不仅定义系统中的类,表示类之间的联系如关联、依赖、聚合等,也包括类的内部结... 阅读全文

posted @ 2004-11-20 10:07 麦哲思科技 阅读(415) 评论(0) 推荐(0)

导航