摘要: //// main.m// C10_动态内存分配//// Created by dllo on 15/7/13.// Copyright (c) 2015年 zhozhicheng. All rights reserved.//#import void func(){ int x=5; int ... 阅读全文
posted @ 2015-07-13 21:30 程序猿-小程 阅读(159) 评论(0) 推荐(0)
摘要: .h//// MyFunction.h// C9_结构体指针//// Created by dllo on 15/7/10.// Copyright (c) 2015年 zhozhicheng. All rights reserved.//#import // 结构体// 学生:姓名,年龄,性别,成... 阅读全文
posted @ 2015-07-13 21:29 程序猿-小程 阅读(135) 评论(0) 推荐(0)
摘要: .h//// MyFunction.h// C8_指针//// Created by dllo on 15/7/9.// Copyright (c) 2015年 zhozhicheng. All rights reserved.//#import // 声明一个结构体typedef struct s... 阅读全文
posted @ 2015-07-09 19:29 程序猿-小程 阅读(178) 评论(0) 推荐(0)
摘要: .h//// MyFunction.h// C7_结构体多文件//// Created by dllo on 15/7/8.// Copyright (c) 2015年 zhozhicheng. All rights reserved.//#import // .h文件, 我们写函数的声明// .m... 阅读全文
posted @ 2015-07-08 17:36 程序猿-小程 阅读(196) 评论(0) 推荐(0)
摘要: .h//// 提款机.h// 提款机//// Created by dllo on 15/7/7.// Copyright (c) 2015年 zhozhicheng. All rights reserved.//#import // 返回下标,判断输入的账号是否在账号对应的数组中int selec... 阅读全文
posted @ 2015-07-07 20:38 程序猿-小程 阅读(184) 评论(0) 推荐(0)
摘要: //// main.m// C6_函数多文件管理//// Created by dllo on 15/7/7.// Copyright (c) 2015年 zhozhicheng. All rights reserved.//#import #import "MyFunction.h" //引头文件... 阅读全文
posted @ 2015-07-07 19:53 程序猿-小程 阅读(132) 评论(0) 推荐(0)
摘要: //// main.m// C6_函数//// Created by dllo on 15/7/6.// Copyright (c) 2015年 zhozhicheng. All rights reserved.//#import // 函数的定义// 函数的形式:1无返回值无参数// 买菜的功能/... 阅读全文
posted @ 2015-07-06 21:28 程序猿-小程 阅读(138) 评论(0) 推荐(0)
摘要: //// main.m// C5_二维数组//// Created by dllo on 15/7/6.// Copyright (c) 2015年 zhozhicheng. All rights reserved.//#import int main(int argc, const char * ... 阅读全文
posted @ 2015-07-06 21:20 程序猿-小程 阅读(224) 评论(0) 推荐(0)
摘要: //// main.m// C4_一维数组//// Created by dllo on 15/7/3.// Copyright (c) 2015年 zhozhicheng. All rights reserved.//#import int main(int argc, const char * ... 阅读全文
posted @ 2015-07-03 21:33 程序猿-小程 阅读(195) 评论(0) 推荐(0)
摘要: //// main.m// C3_循环结构//// Created by dllo on 15/7/2.// Copyright (c) 2015年 zhozhicheng. All rights reserved.//#import int main(int argc, const char * ... 阅读全文
posted @ 2015-07-03 21:32 程序猿-小程 阅读(849) 评论(0) 推荐(0)