摘要: 1 原码、反码、补码什么意思?有什么用? 阅读全文
posted @ 2010-04-08 21:22 科睿思博 阅读(119) 评论(0) 推荐(0) 编辑
摘要: 原码、反码、补码什么意思?有什么用?  假设有一 int 类型的数,值为5,那么,我们知道它在计算机中表示为:  00000000 00000000 00000000 00000101  5转换成二制是101,不过int类型的数占用4字节(32位),所以前面填了一堆0。  现在想知道 ...  假设有一 int 类型的数,值为5,那么,我们知道它在计算机中表示为:  00000000 000000... 阅读全文
posted @ 2010-04-08 21:19 科睿思博 阅读(3331) 评论(0) 推荐(1) 编辑
摘要: 代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--usingSystem;usingSystem.Collections.Generic;internalclassEngine{publicstringEngineWork(){return"BMW'... 阅读全文
posted @ 2010-04-08 10:59 科睿思博 阅读(152) 评论(0) 推荐(0) 编辑
摘要: [代码]代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--usingSystem;usingSystem.Collections;usingSystem.Collections.Generic;classFlyweightFactory{privat... 阅读全文
posted @ 2010-04-08 09:58 科睿思博 阅读(179) 评论(0) 推荐(1) 编辑
摘要: 代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--usingSystem;usingSystem.Collections.Generic;///<summary>///接口类///</summary>interfaceIPro... 阅读全文
posted @ 2010-04-08 09:22 科睿思博 阅读(116) 评论(0) 推荐(0) 编辑