上一页 1 ··· 3 4 5 6 7 8 下一页
摘要: Objective -C Memory Management内存管理第一部分 Memory management is part of a more general problem in programming called resource management. 内存管理是资源管理的一部分。 Every computer system has finite resources for ... 阅读全文
posted @ 2015-05-06 00:29 巴山夜雨1989 阅读(286) 评论(0) 推荐(0) 编辑
摘要: Objective-C Foundation框架 Example:Looking for Files查找文件NSFileManager. The NSFileManager class lets you do stuff with the file system, like create direc... 阅读全文
posted @ 2015-05-05 18:30 巴山夜雨1989 阅读(204) 评论(0) 推荐(0) 编辑
摘要: Objective - c Foundation框架详解2Collection AgencyCocoa provides a number of collection classes such as NSArray and NSDictionary whose instances exist jus... 阅读全文
posted @ 2015-05-05 15:33 巴山夜雨1989 阅读(329) 评论(0) 推荐(0) 编辑
摘要: object -c OOP ,源码组织,Foundation框架详解1 1.1 So what is OOP? OOP is a way of constructing software composed of objects. Objects are like little machines living inside your computer and talking to e... 阅读全文
posted @ 2015-05-05 09:41 巴山夜雨1989 阅读(350) 评论(0) 推荐(0) 编辑
摘要: Objective - c Chapter 1 Hello world 1.1 1.2.On the Welcome screen, click "Create a new Xcode project" (see Figure 2-1), or just chooseFile ->New ->N... 阅读全文
posted @ 2015-05-04 22:06 巴山夜雨1989 阅读(225) 评论(0) 推荐(0) 编辑
摘要: Compiler 1.6.5 —1.6.7Dynamic Scope Technically, any scoping policy is dynamic if it is based on factor(s) that can be known only when the program exec... 阅读全文
posted @ 2015-05-04 15:15 巴山夜雨1989 阅读(226) 评论(0) 推荐(0) 编辑
摘要: 13 Red-black Trees Red-black trees are one of many search-tree schemes that are "balanced" in order to guarantee that basic dynamic-set operations take O(lgn) time in the worst case. Red-black ... 阅读全文
posted @ 2015-05-04 10:02 巴山夜雨1989 阅读(308) 评论(0) 推荐(0) 编辑
摘要: 12. binary search Trees The search tree data structure supports many dynamic-set operations,including search ,minimum,maximum,predecessor,successor ,insert ,and delete. Thus, we can use a se... 阅读全文
posted @ 2015-05-01 23:35 巴山夜雨1989 阅读(415) 评论(0) 推荐(0) 编辑
摘要: 11 Hash tables Many applications require a dynamic set that supports only the dictionary operations INSERT, SEARCH, and DELETE. For example, a compiler that translates a programming language mainta... 阅读全文
posted @ 2015-05-01 10:54 巴山夜雨1989 阅读(293) 评论(0) 推荐(0) 编辑
摘要: Algorithms 10.3 Implementing pointers and objects and 10.4 Representing rooted trees Allocating and freeing objects 分配和释放对象it is useful to manage the ... 阅读全文
posted @ 2015-04-30 16:25 巴山夜雨1989 阅读(227) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7 8 下一页