C语言
文章平均质量分 81
程_先生
Any fool can write code that a computer can understand. Good programmers write code that humans can understand. –Martin Fowler
任何一个傻子都能写出让电脑能懂的代码,而只有好的程序员可以写出让人能看懂的代码 — Martin Fowler
展开
-
iOS C语言1_基本概念
//// main.m// C1_基本概念//// Created by dllo on 15/6/30.// Copyright (c) 2015年 zhozhicheng. All rights reserved.//#import int main(int argc,const char * ar原创 2015-07-15 09:25:09 · 368 阅读 · 0 评论 -
iOS C语言11_函数指针
.h//// MyFunction.h// C12_函数指针//// Created by dllo on 15/7/14.// Copyright (c) 2015年 zhozhicheng. All rights reserved.//#import //找到两个数中的最大值int maxVal原创 2015-07-20 15:01:07 · 371 阅读 · 0 评论 -
iOS C语言10_动态内存分配
//// main.m// C10_动态内存分配//// Created by dllo on 15/7/13.// Copyright (c) 2015年 zhozhicheng. All rights reserved.//#import void func(){ int x=5; int原创 2015-07-20 14:59:48 · 294 阅读 · 0 评论 -
iOS C语言8_指针
.h//// MyFunction.h// C8_指针//// Created by dllo on 15/7/9.// Copyright (c) 2015年 zhozhicheng. All rights reserved.//#import // 声明一个结构体typedef struct原创 2015-07-20 08:31:18 · 362 阅读 · 0 评论 -
iOS C语言7_结构体
//// main.m// C7_结构体//// Created by dllo on 15/7/8.// Copyright (c) 2015年 zhozhicheng. All rights reserved.//#import //struct student{// // 成员变量//原创 2015-07-18 08:37:33 · 360 阅读 · 0 评论 -
iOS C语言6.2_函数多文件管理
//// MyFunction.h// C6_函数多文件管理//// Created by dllo on 15/7/7.// Copyright (c) 2015年 zhozhicheng. All rights reserved.//#import // 在.h里,我们写函数的声明// 声明原创 2015-07-17 19:16:56 · 431 阅读 · 0 评论 -
iOS C语言6_函数
//// main.m// C6_函数//// Created by dllo on 15/7/6.// Copyright (c) 2015年 zhozhicheng. All rights reserved.//#import // 函数的定义// 函数的形式:1无返回值无参数//原创 2015-07-17 16:46:43 · 366 阅读 · 0 评论 -
iOS C语言7.2_结构体多文件
.h 声明文件//// MyFunction.h// C7_结构体多文件//// Created by dllo on 15/7/8.// Copyright (c) 2015年 zhozhicheng. All rights reserved.//#import // .h文件, 我们写函数的声明原创 2015-07-18 15:19:59 · 416 阅读 · 0 评论 -
iOS C语言5_二维数组
//// main.m// C5_二维数组//// Created by dllo on 15/7/6.// Copyright (c) 2015年 zhozhicheng. All rights reserved.//#import int main(int argc,const char * arg原创 2015-07-17 08:50:11 · 306 阅读 · 0 评论 -
iOS C语言4_一维数组
//// main.m// C4_一维数组//// Created by dllo on 15/7/3.// Copyright (c) 2015年 zhozhicheng. All rights reserved.//#import int main(int argc,const char * arg原创 2015-07-16 17:15:03 · 677 阅读 · 0 评论 -
iOS C语言3_循环结构
//// main.m// C3_循环结构//// Created by dllo on 15/7/2.// Copyright (c) 2015年 zhozhicheng. All rights reserved.//#import int main(int argc,const char * arg原创 2015-07-16 09:24:01 · 520 阅读 · 0 评论 -
iOS C语言2_分支结构
//// main.m// C2_分支结构//// Created by dllo on 15/7/1.// Copyright (c) 2015年 zhozhicheng. All rights reserved.//#import // 写一条宏定义// 宏定义用来替换代码#defi原创 2015-07-15 19:10:54 · 469 阅读 · 0 评论 -
iOS C语言9_结构体指针
.h//// MyFunction.h// C9_结构体指针//// Created by dllo on 15/7/10.// Copyright (c) 2015年 zhozhicheng. All rights reserved.//#import // 结构体// 学生:姓名,年龄,性别原创 2015-07-20 14:33:14 · 386 阅读 · 0 评论