上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 17 下一页
摘要: 有两个有序整数数组,例如{1,3,5,7,9}和{2,4,6,7,8},设计一个函数使两个数组合并,并且剔除掉两个数组里重复的元素。代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--usingSystem;usingSystem.Collection... 阅读全文
posted @ 2010-04-12 20:04 科睿思博 阅读(175) 评论(0) 推荐(0) 编辑
摘要: 给定一个整数数组,例如{2,4,5,6,7,8}和一个数字,例如10,请设计一个函数找出两个元素,并且使这两个数的和为给定数字,并答应出来。代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--usingSystem;usingSystem.Collec... 阅读全文
posted @ 2010-04-12 20:02 科睿思博 阅读(231) 评论(0) 推荐(1) 编辑
摘要: 1 类适配器代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--usingSystem;usingSystem.Collections.Generic;interfaceItest{voidNewRequest();}classMethod{publi... 阅读全文
posted @ 2010-04-10 15:38 科睿思博 阅读(122) 评论(0) 推荐(1) 编辑
摘要: 代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--usingSystem;usingSystem.Collections.Generic;publicinterfaceILog{voidLog(stringstr);}publicclassTxtLo... 阅读全文
posted @ 2010-04-10 15:21 科睿思博 阅读(148) 评论(0) 推荐(1) 编辑
摘要: 代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--usingSystem;usingSystem.Collections;usingSystem.Collections.Generic;publicabstractclassGraphics{publ... 阅读全文
posted @ 2010-04-10 11:44 科睿思博 阅读(150) 评论(0) 推荐(0) 编辑
摘要: 代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--//Decoratorpattern--StructuralexampleusingSystem;//"Component"abstractclassComponent{//Methodsabstra... 阅读全文
posted @ 2010-04-10 10:21 科睿思博 阅读(92) 评论(0) 推荐(1) 编辑
摘要: 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) 编辑
上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 17 下一页