摘要:
// main.m// OC04_属性//// Created by dllo on 15/7/17.// Copyright (c) 2015年cml. All rights reserved.//#import#import"Person.h"#import"Student.h"#import"... 阅读全文
摘要:
// main.m// OC02_可见度,方法//// Created by dllo on 15/7/16.// Copyright (c) 2015年 cml. All rights reserved.//#import #import "Student.h"#import "AudiCar.h... 阅读全文
摘要:
// main.m// OC01类和对象//// Created by dllo on 15/7/15.// Copyright (c) 2015年 cml. All rights reserved.//#import // 先引头文件#import"Phone.h"#import"Audio ca... 阅读全文
摘要:
//// 比较两个数的大小,并返回结果//int maxValue(int a , int b){// return a>b?a:b;//}////int sumNum(int x,int y){// return x + y;//}////void test(int a, int b){// ... 阅读全文
摘要:
// main.m// C10_动态内存分配//// Created by dllo on 15/7/13.// Copyright (c) 2015年 cml. All rights reserved.//#import ////void func (){// int x =5;// int ... 阅读全文
摘要:
主函数:// main.m// test7.10//// Created by dllo on 15/7/10.// Copyright (c) 2015年 cml. All rights reserved.//#import #import "MyFunction.h"int main(int a... 阅读全文
摘要:
主函数// main.m// C9_结构体指针//// Created by dllo on 15/7/10.// Copyright (c) 2015年 cml. All rights reserved.//#import #import "MyFunction.h"// 宏是一个替换的过程,把后... 阅读全文
摘要:
//// main.m// C8_指针//// Created by dllo on 15/7/9.// Copyright (c) 2015年 cml. All rights reserved.//#import #import "MyFunction.h"int main(int argc, c... 阅读全文
摘要:
//// main.m// C7_结构体//// Created by dllo on 15/7/8.// Copyright (c) 2015年 cml. All rights reserved.//#import //struct student{ // 成员变量 int stuAge; ... 阅读全文