摘要: char a = 'h'; char a[] = "Hello"; string sComparec = "Hello" char *a = "Hello"; char* mag[] = { "Love Stor", "Harry", "Potter" }; '\0' 拓展知识点: getchar( 阅读全文
posted @ 2017-05-13 15:23 TT-小白 阅读(130) 评论(0) 推荐(0) 编辑
摘要: @interface father : NSObject @end @implementation father - (void) drink { NSLog(@"pure water!"); } - (void) smoking { NSLog(@"Marlboro!"); } @end @int 阅读全文
posted @ 2017-05-08 18:22 TT-小白 阅读(200) 评论(0) 推荐(0) 编辑
摘要: OC 之:C语言的拓展 阅读全文
posted @ 2017-05-08 17:33 TT-小白 阅读(114) 评论(0) 推荐(0) 编辑
摘要: ... 阅读全文
posted @ 2015-11-13 10:43 TT-小白 阅读(196) 评论(0) 推荐(0) 编辑
摘要: 程序员的基本功:编程基础:语言特性(循环、函数、变量)、程式结构、基本程式设计技术 (递归)。基本的数据结构知识(hash table、queues)基本的算法(sorting searching) 阅读全文
posted @ 2015-11-10 09:12 TT-小白 阅读(303) 评论(0) 推荐(0) 编辑
摘要: 1.xV6之进程struct proc{ uint sz; // Size of process memory (bytes) pde_t* pgdir; // Page table char *kstack; // Bottom of ker... 阅读全文
posted @ 2015-11-09 22:28 TT-小白 阅读(610) 评论(0) 推荐(0) 编辑
摘要: 1. 基本语句与之对应的流程图。基本语句列表1. if2. while 2.1 break 2.2 continue3. for4. do5. switch 5.1 break 5.2 continue6. go to 阅读全文
posted @ 2015-11-09 10:31 TT-小白 阅读(192) 评论(0) 推荐(0) 编辑
摘要: 阅读作品的选择标准:1. 编程风格良好, 设计思路清晰、文档完备 (如果只有一堆源码,那读起来就等着烧脑袋吧。。唯恐避之而不及)。2. 代码量(1W作为基数:大牛说:正常人的可理解的代码量在1W以内。)编译器:词法分析与语法分析工具:1. flex and Bison程序设计语言:2. C 编译... 阅读全文
posted @ 2015-11-05 17:31 TT-小白 阅读(178) 评论(0) 推荐(0) 编辑
摘要: 书籍链接:http://book.douban.com/subject/25735333/ps: 一直想把此书啃掉,却又常常半途而废。现在以博客的方式写出,也算是对自己的约束吧 (~oo~) 阅读全文
posted @ 2015-10-31 21:14 TT-小白 阅读(323) 评论(0) 推荐(0) 编辑
摘要: 程序描述:从指定文件中读入数据,然后将数据显示在屏幕上。编译环境: OS X 10.10 GCCCode: 1 /* Read Data from file then Show it on the screen. 2 * 31-10-2015 3 * Don 4 */ 5 6 #inc... 阅读全文
posted @ 2015-10-31 13:44 TT-小白 阅读(168) 评论(0) 推荐(0) 编辑