摘要: 虽然#define语句看起来象typedef,但实际上却有本质上的差别。对于#define来说,仅在编译前对源代码进行了字符串替换处理;而对于typedef来说,它建立了一个新的数据类型别名。由此可见,只是将pch1定义为指针变量,却并没有实现程序员的意图,而是将pch2定义成了char型变量。... 阅读全文
posted @ 2015-08-06 23:51 高山流的不是水 阅读(127) 评论(0) 推荐(0) 编辑
摘要: Objects are structures allocated on the heap. Special rules apply to the use of objects to ensure they are properly garbage-collected.Objects are neve... 阅读全文
posted @ 2015-08-06 16:03 高山流的不是水 阅读(160) 评论(0) 推荐(0) 编辑