不疯不成魔

  博客园 :: 首页 :: 新随笔 :: 联系 :: 订阅 :: 管理 ::

随笔分类 -  iOS学习之路

上一页 1 2 3 4

摘要://// main.m// LessonReturnFunPointer//// Created by laouhn on 15/7/29.// Copyright (c) 2015年 池海涛. All rights reserved.//#import #import "Function.... 阅读全文
posted @ 2015-07-30 09:12 不疯不成魔 阅读(219) 评论(0) 推荐(0)

摘要://// main.m// LessonMemory//// Created by laouhn on 15/7/28.// Copyright (c) 2015年 池海涛. All rights reserved.//#import struct student { char nam... 阅读全文
posted @ 2015-07-30 08:54 不疯不成魔 阅读(250) 评论(0) 推荐(1)

摘要://// main.m// LessonPointerPro//// Copyright (c) 2015年 池海涛. All rights reserved.//#import #import "Function.h"#define PI 3.1415926#define kMul(A,B)... 阅读全文
posted @ 2015-07-30 08:50 不疯不成魔 阅读(175) 评论(0) 推荐(0)

摘要://// main.m// LessionPointer//// Created by laouhn on 15/7/24.// Copyright (c) 2015年 池海涛. All rights reserved.//#import void jiaohuan(int *a,int *... 阅读全文
posted @ 2015-07-24 20:10 不疯不成魔 阅读(272) 评论(0) 推荐(0)

摘要://// main.m// LesssonScale//// Created by laouhn on 15/7/23.// Copyright (c) 2015年 池海涛. All rights reserved.//#import int main(int argc, const char * ... 阅读全文
posted @ 2015-07-24 10:08 不疯不成魔 阅读(274) 评论(0) 推荐(0)

摘要://// main.m// LessonStruct//// Copyright (c) 2015年 池海涛. All rights reserved.//#import #import "Function.h"int main(int argc, const char * argv[]) {... 阅读全文
posted @ 2015-07-22 21:44 不疯不成魔 阅读(608) 评论(0) 推荐(0)

摘要:#import #import "Function.h"int main(int argc, const char * argv[]) {//函数定义 /*返回值类型 函数名(参数1, 参数2, 参数3, 参数4) { 函数体; return 返回值; } ... 阅读全文
posted @ 2015-07-22 21:40 不疯不成魔 阅读(674) 评论(0) 推荐(0)

摘要://模拟n个人参加选举的过程,并输出选举结果:假设候选人有四个,分别用A,B,C,D表示,当选某人时,直接输入其编号(由计算机随机产生),选举结束后按得票率从高到低输出候选人编号和所得票数 int number = 0; int rand = 0; int temp = 0; ... 阅读全文
posted @ 2015-07-21 09:56 不疯不成魔 阅读(147) 评论(0) 推荐(0)

摘要:#import int main(int argc, const char * argv[]) {/*有一对兔子,从出生后第3个月起每个月都生一对兔子,小兔子长到第3个月后每个月又生一对兔子,假如兔子都不死,问每个月的兔子总数为多少? 1 2 3 4 5 6 7 8 9 1 1 2 3 5 8 */... 阅读全文
posted @ 2015-07-18 17:40 不疯不成魔 阅读(240) 评论(0) 推荐(0)

摘要://// main.m// Mypritice1//// Created by laouhn on 15/7/18.// Copyright (c) 2015年 池海涛. All rights reserved.//#import int main(int argc, const char ... 阅读全文
posted @ 2015-07-18 10:10 不疯不成魔 阅读(258) 评论(0) 推荐(0)

摘要:#import int main(int argc, const char * argv[]) { //创建5个整型变量 //对器 ctrl + i// int a = 1;// int b = 2;// int c = 3;// int d = 4;// ... 阅读全文
posted @ 2015-07-18 08:54 不疯不成魔 阅读(134) 评论(0) 推荐(0)

摘要://// main.m// LessonCircle//// Created by laouhn on 15/7/16.// Copyright (c) 2015年 池海涛. All rights reserved.//#import int main(int argc, const cha... 阅读全文
posted @ 2015-07-17 11:52 不疯不成魔 阅读(148) 评论(0) 推荐(0)

摘要://// main.m// LessonCondition//// Created by laouhn on 15/7/15.// Copyright (c) 2015年 David. All rights reserved.//#import int main(int argc, cons... 阅读全文
posted @ 2015-07-15 21:03 不疯不成魔 阅读(139) 评论(0) 推荐(0)

摘要://// main.m// LessonBasic//// Created by laouhn on 15/7/14.// Copyright (c) 2015年 David. All rights reserved.//#import int main(int argc, const ch... 阅读全文
posted @ 2015-07-15 20:58 不疯不成魔 阅读(174) 评论(0) 推荐(0)

上一页 1 2 3 4