06 2015 档案

摘要://// main.m// OC5_Block//// Created by zhangxueming on 15/6/26.// Copyright (c) 2015年 zhangxueming. All rights reserved.//#import //block//函数指针int... 阅读全文
posted @ 2015-06-26 14:53 sirzhang 阅读(273) 评论(0) 推荐(0)
摘要:a 安吉 安庆 鞍山 澳门 b 保定 宝鸡 包头 北海 北京 蚌埠 滨州 c ... 阅读全文
posted @ 2015-06-26 11:04 sirzhang 阅读(242) 评论(0) 推荐(0)
摘要:38849998 115569999 39930000 116279998 ... 阅读全文
posted @ 2015-06-25 11:45 sirzhang 阅读(332) 评论(0) 推荐(0)
摘要:1 胡明涛 男 123558 2 成风采 男 122323 3 陈咬金 男 213... 阅读全文
posted @ 2015-06-25 11:40 sirzhang 阅读(502) 评论(0) 推荐(0)
摘要:Ryan 24 Tang xiaohei 23 //// main.m// OC1-XML文件解析//// Created by qianfeng on 15/6/25.// Copyrig... 阅读全文
posted @ 2015-06-25 11:37 sirzhang 阅读(504) 评论(0) 推荐(0)
摘要://// ReceiveReportDelegate.h// OC11_真正的代理//// Created by zhangxueming on 15/6/24.// Copyright (c) 2015年 zhangxueming. All rights reserved.//#impor... 阅读全文
posted @ 2015-06-24 20:52 sirzhang 阅读(206) 评论(0) 推荐(0)
摘要://// ProtectedDelegate.h// OC10_代理反向传值//// Created by zhangxueming on 15/6/24.// Copyright (c) 2015年 zhangxueming. All rights reserved.//#import @... 阅读全文
posted @ 2015-06-24 20:39 sirzhang 阅读(240) 评论(0) 推荐(0)
摘要://// ProtectedDeleagate.h// OC9_代理正向传值//// Created by zhangxueming on 15/6/24.// Copyright (c) 2015年 zhangxueming. All rights reserved.//#import @... 阅读全文
posted @ 2015-06-24 20:33 sirzhang 阅读(276) 评论(0) 推荐(0)
摘要://// ProtectedDelegate.h// OC8_代理基本概念//// Created by zhangxueming on 15/6/24.// Copyright (c) 2015年 zhangxueming. All rights reserved.//#import @p... 阅读全文
posted @ 2015-06-24 20:18 sirzhang 阅读(318) 评论(0) 推荐(0)
摘要://// Cat.h// OC7_代理的基本概念//// Created by zhangxueming on 15/6/24.// Copyright (c) 2015年 zhangxueming. All rights reserved.//#import @interface Cat ... 阅读全文
posted @ 2015-06-24 20:09 sirzhang 阅读(300) 评论(0) 推荐(0)
摘要://// Person.h// OC6_代理的基本概念//// Created by zhangxueming on 15/6/24.// Copyright (c) 2015年 zhangxueming. All rights reserved.//#import #import "Dog... 阅读全文
posted @ 2015-06-24 20:00 sirzhang 阅读(188) 评论(0) 推荐(0)
摘要://// ClassB.h// OC5_@class关键字//// Created by zhangxueming on 15/6/24.// Copyright (c) 2015年 zhangxueming. All rights reserved.//#import #import "C... 阅读全文
posted @ 2015-06-24 19:56 sirzhang 阅读(196) 评论(0) 推荐(0)
摘要://// Calulator.h// OC4_遵守多个协议//// Created by zhangxueming on 15/6/24.// Copyright (c) 2015年 zhangxueming. All rights reserved.//#import #import "A... 阅读全文
posted @ 2015-06-24 19:43 sirzhang 阅读(468) 评论(0) 推荐(0)
摘要://// Student.h// OC3_协议关键字//// Created by zhangxueming on 15/6/24.// Copyright (c) 2015年 zhangxueming. All rights reserved.//#import #import "Prog... 阅读全文
posted @ 2015-06-24 19:21 sirzhang 阅读(263) 评论(0) 推荐(0)
摘要://// Dog.h// OC2_使用系统协议//// Created by zhangxueming on 15/6/24.// Copyright (c) 2015年 zhangxueming. All rights reserved.//#import @interface Dog :... 阅读全文
posted @ 2015-06-24 19:14 sirzhang 阅读(335) 评论(0) 推荐(0)
摘要://// Programmer.h// OC1_协议语句//// Created by zhangxueming on 15/6/24.// Copyright (c) 2015年 zhangxueming. All rights reserved.//#import #import "Co... 阅读全文
posted @ 2015-06-24 18:41 sirzhang 阅读(226) 评论(0) 推荐(0)
摘要://// main.m// OC8-Json文件解析//// Created by qianfeng on 15/6/23.// Copyright (c) 2015年 qianfeng. All rights reserved.//#import //Json//Javascript 语法... 阅读全文
posted @ 2015-06-23 16:27 sirzhang 阅读(1665) 评论(0) 推荐(0)
摘要://// main.m// OC5-文件归档//// Created by qianfeng on 15/6/23.// Copyright (c) 2015年 qianfeng. All rights reserved.//#import //归档:把对象数据存储到文件的过程.//反归档:... 阅读全文
posted @ 2015-06-23 12:34 sirzhang 阅读(279) 评论(0) 推荐(0)
摘要://// main.m// OC3_Plist文件 用 writeToFile创建//// Created by zhangxueming on 15/6/23.// Copyright (c) 2015年 zhangxueming. All rights reserved.//#impor... 阅读全文
posted @ 2015-06-23 12:32 sirzhang 阅读(289) 评论(0) 推荐(0)
摘要://// main.m// NS-Date//// Created by qianfeng on 15/6/23.// Copyright (c) 2015年 qianfeng. All rights reserved.//#import //DSdateint main(int argc,... 阅读全文
posted @ 2015-06-23 11:53 sirzhang 阅读(279) 评论(0) 推荐(0)
摘要://// TextHander.h// OC10_文件练习//// Created by zhangxueming on 15/6/19.// Copyright (c) 2015年 zhangxueming. All rights reserved.//#import @interface... 阅读全文
posted @ 2015-06-19 19:54 sirzhang 阅读(214) 评论(0) 推荐(0)
摘要://// main.m// OC9_文件操作//// Created by zhangxueming on 15/6/19.// Copyright (c) 2015年 zhangxueming. All rights reserved.//#import int main(int argc... 阅读全文
posted @ 2015-06-19 19:43 sirzhang 阅读(322) 评论(0) 推荐(0)
摘要://// main.m// OC8_NSData//// Created by zhangxueming on 15/6/19.// Copyright (c) 2015年 zhangxueming. All rights reserved.//#import int main(int ar... 阅读全文
posted @ 2015-06-19 19:35 sirzhang 阅读(186) 评论(0) 推荐(0)
摘要://// main.m// OC7_目录操作//// Created by zhangxueming on 15/6/19.// Copyright (c) 2015年 zhangxueming. All rights reserved.//#import int main(int argc... 阅读全文
posted @ 2015-06-19 19:29 sirzhang 阅读(326) 评论(0) 推荐(0)
摘要://// main.m// OC6_目录及文件的创建//// Created by zhangxueming on 15/6/19.// Copyright (c) 2015年 zhangxueming. All rights reserved.//#import int main(int ... 阅读全文
posted @ 2015-06-19 19:26 sirzhang 阅读(427) 评论(0) 推荐(0)
摘要://// main.m// OC5_NSFileManger//// Created by zhangxueming on 15/6/19.// Copyright (c) 2015年 zhangxueming. All rights reserved.//#import //NSFileM... 阅读全文
posted @ 2015-06-19 19:19 sirzhang 阅读(181) 评论(0) 推荐(0)
摘要://// MusicManager.h// OC4_单例//// Created by zhangxueming on 15/6/19.// Copyright (c) 2015年 zhangxueming. All rights reserved.//#import @interface ... 阅读全文
posted @ 2015-06-19 19:12 sirzhang 阅读(223) 评论(0) 推荐(0)
摘要://// main.m// OC3_Copy及MultableCopy//// Created by zhangxueming on 15/6/19.// Copyright (c) 2015年 zhangxueming. All rights reserved.//#import //co... 阅读全文
posted @ 2015-06-19 19:08 sirzhang 阅读(371) 评论(0) 推荐(0)
摘要://// main.m// OC2_ARC MRC混合编程//// Created by zhangxueming on 15/6/19.// Copyright (c) 2015年 zhangxueming. All rights reserved.//#import #import "P... 阅读全文
posted @ 2015-06-19 19:00 sirzhang 阅读(276) 评论(0) 推荐(0)
摘要://// Dog.h// OC1_类方法的内存管理//// Created by zhangxueming on 15/6/19.// Copyright (c) 2015年 zhangxueming. All rights reserved.//#import @interface Dog... 阅读全文
posted @ 2015-06-19 18:48 sirzhang 阅读(231) 评论(0) 推荐(0)
摘要://// Dog.h// OC12_自动释放池//// Created by zhangxueming on 15/6/18.// Copyright (c) 2015年 zhangxueming. All rights reserved.//#import @interface Dog :... 阅读全文
posted @ 2015-06-18 20:48 sirzhang 阅读(178) 评论(0) 推荐(0)
摘要://// Dog.h// OC11_自动释放池//// Created by zhangxueming on 15/6/18.// Copyright (c) 2015年 zhangxueming. All rights reserved.//#import @interface Dog :... 阅读全文
posted @ 2015-06-18 20:46 sirzhang 阅读(169) 评论(0) 推荐(0)
摘要://// main.m// OC10_数组的内存管理//// Created by zhangxueming on 15/6/18.// Copyright (c) 2015年 zhangxueming. All rights reserved.//#import #import "Dog.... 阅读全文
posted @ 2015-06-18 20:45 sirzhang 阅读(188) 评论(0) 推荐(0)
摘要://// main.m// OC9_字符串的内存管理//// Created by zhangxueming on 15/6/18.// Copyright (c) 2015年 zhangxueming. All rights reserved.//#import //字符串内存管理, re... 阅读全文
posted @ 2015-06-18 20:44 sirzhang 阅读(233) 评论(0) 推荐(0)
摘要://// Person.h// OC8_setter方法展开//// Created by zhangxueming on 15/6/18.// Copyright (c) 2015年 zhangxueming. All rights reserved.//#import #import "... 阅读全文
posted @ 2015-06-18 20:43 sirzhang 阅读(315) 评论(0) 推荐(0)
摘要://// Person.h// OC7_复合类内存管理(setter方法)//// Created by zhangxueming on 15/6/18.// Copyright (c) 2015年 zhangxueming. All rights reserved.//#import #i... 阅读全文
posted @ 2015-06-18 20:39 sirzhang 阅读(401) 评论(0) 推荐(0)
摘要://// Person.h// OC6_复合类的类存管理//// Created by zhangxueming on 15/6/18.// Copyright (c) 2015年 zhangxueming. All rights reserved.//#import #import "Do... 阅读全文
posted @ 2015-06-18 20:37 sirzhang 阅读(219) 评论(0) 推荐(0)
摘要://// Person.h// OC5_复合类的内存管理//// Created by zhangxueming on 15/6/18.// Copyright (c) 2015年 zhangxueming. All rights reserved.//#import @interface ... 阅读全文
posted @ 2015-06-18 20:36 sirzhang 阅读(187) 评论(0) 推荐(0)
摘要://// Dog.h// OC4_内存管理法则//// Created by zhangxueming on 15/6/18.// Copyright (c) 2015年 zhangxueming. All rights reserved.//#import @interface Dog :... 阅读全文
posted @ 2015-06-18 20:35 sirzhang 阅读(178) 评论(0) 推荐(0)
摘要://// Dog.h// OC3_dealloc//// Created by zhangxueming on 15/6/18.// Copyright (c) 2015年 zhangxueming. All rights reserved.//#import @interface Dog ... 阅读全文
posted @ 2015-06-18 20:34 sirzhang 阅读(182) 评论(0) 推荐(0)
摘要://// Dog.h// OC2_引用计数//// Created by zhangxueming on 15/6/18.// Copyright (c) 2015年 zhangxueming. All rights reserved.//#import @interface Dog : N... 阅读全文
posted @ 2015-06-18 20:33 sirzhang 阅读(186) 评论(0) 推荐(0)
摘要://// WordManger.h// OC7_单词个数//// Created by zhangxueming on 15/6/17.// Copyright (c) 2015年 zhangxueming. All rights reserved.//#import @interface ... 阅读全文
posted @ 2015-06-17 19:20 sirzhang 阅读(245) 评论(0) 推荐(0)
摘要://// HtmlManger.h// OC6-网址分割//// Created by qianfeng on 15/6/17.// Copyright (c) 2015年 qianfeng. All rights reserved.//#import #import "HtmlItem.h... 阅读全文
posted @ 2015-06-17 19:02 sirzhang 阅读(250) 评论(0) 推荐(0)
摘要://// Dog.h// OC2-重写//// Created by qianfeng on 15/6/17.// Copyright (c) 2015年 qianfeng. All rights reserved.//#import "Animal.h"@interface Dog : A... 阅读全文
posted @ 2015-06-17 13:45 sirzhang 阅读(187) 评论(0) 推荐(0)
摘要://// Cat.h// OC3-父类指针指向子类对象//// Created by qianfeng on 15/6/17.// Copyright (c) 2015年 qianfeng. All rights reserved.//#import "Animal.h"@interface... 阅读全文
posted @ 2015-06-17 13:18 sirzhang 阅读(295) 评论(0) 推荐(0)
摘要://// main.c// 枚举和预处理//// Created by qianfeng on 15/6/3.// Copyright (c) 2015年 qianfeng. All rights reserved.//#include /* 枚举:用于声明一组常数 定义:enum 枚举名 ... 阅读全文
posted @ 2015-06-16 20:51 sirzhang 阅读(766) 评论(0) 推荐(0)
摘要:assign: 简单赋值,不更改索引计数copy: 建立一个索引计数为1的对象,然后释放旧对象retain:释放旧的对象,将旧对象的值赋予输入对象,再提高输入对象的索引计数为1Copy其实是建立了一个相同的对象,而retain不是:比如一个NSString对象,地址为0×1111,内容为@”STR”... 阅读全文
posted @ 2015-06-16 17:43 sirzhang 阅读(3455) 评论(0) 推荐(0)
摘要://// NSString+Reverse.h// OC5_类别//// Created by zhangxueming on 15/6/16.// Copyright (c) 2015年 zhangxueming. All rights reserved.//#import @interf... 阅读全文
posted @ 2015-06-16 16:36 sirzhang 阅读(260) 评论(0) 推荐(0)
摘要://// Dog.h// OC4_实例变量的作用域//// Created by zhangxueming on 15/6/16.// Copyright (c) 2015年 zhangxueming. All rights reserved.//#import @interface Dog... 阅读全文
posted @ 2015-06-16 16:35 sirzhang 阅读(396) 评论(0) 推荐(0)
摘要://// Dog.h// OC3_选择器//// Created by zhangxueming on 15/6/16.// Copyright (c) 2015年 zhangxueming. All rights reserved.//#import @interface Dog : NS... 阅读全文
posted @ 2015-06-16 16:34 sirzhang 阅读(215) 评论(0) 推荐(0)
摘要://// Dog.h// OC2_点语法(属性关键字)//// Created by zhangxueming on 15/6/16.// Copyright (c) 2015年 zhangxueming. All rights reserved.//#import @interface D... 阅读全文
posted @ 2015-06-16 16:33 sirzhang 阅读(192) 评论(0) 推荐(0)
摘要://// Dog.h// OC1_点语法//// Created by zhangxueming on 15/6/16.// Copyright (c) 2015年 zhangxueming. All rights reserved.//#import @interface Dog : NS... 阅读全文
posted @ 2015-06-16 16:32 sirzhang 阅读(218) 评论(0) 推荐(0)
摘要://// MyDictionary.h// OC4_电子词典//// Created by zhangxueming on 15/6/15.// Copyright (c) 2015年 zhangxueming. All rights reserved.//#import #define F... 阅读全文
posted @ 2015-06-15 17:55 sirzhang 阅读(309) 评论(0) 推荐(0)
摘要://// LrcManager.h// OC3_歌词解析//// Created by zhangxueming on 15/6/15.// Copyright (c) 2015年 zhangxueming. All rights reserved.//#import #import "Lr... 阅读全文
posted @ 2015-06-15 17:54 sirzhang 阅读(280) 评论(1) 推荐(0)
摘要://// WordManager.h// OC1_汉字拼音转换//// Created by zhangxueming on 15/4/27.// Copyright (c) 2015年 zhangxueming. All rights reserved.//#import #import ... 阅读全文
posted @ 2015-06-13 16:36 sirzhang 阅读(798) 评论(0) 推荐(0)
摘要://// main.m// OC3_字典//// Created by zhangxueming on 15/6/12.// Copyright (c) 2015年 zhangxueming. All rights reserved.//#import //NSDictionary//创建一... 阅读全文
posted @ 2015-06-12 16:59 sirzhang 阅读(252) 评论(0) 推荐(0)
摘要://// MyClass.h// OC2_班级类//// Created by zhangxueming on 15/6/12.// Copyright (c) 2015年 zhangxueming. All rights reserved.//#import #import "Studen... 阅读全文
posted @ 2015-06-12 16:58 sirzhang 阅读(259) 评论(0) 推荐(0)
摘要://// BankAccount.h// OC1_银行账户类//// Created by zhangxueming on 15/6/10.// Copyright (c) 2015年 zhangxueming. All rights reserved.//#import @interfac... 阅读全文
posted @ 2015-06-11 20:32 sirzhang 阅读(427) 评论(0) 推荐(0)
摘要://// Fraction.h// OC2_分数类//// Created by zhangxueming on 15/6/10.// Copyright (c) 2015年 zhangxueming. All rights reserved.//#import @interface Fra... 阅读全文
posted @ 2015-06-11 20:31 sirzhang 阅读(305) 评论(0) 推荐(0)
摘要://// main.m// OC4_可变数组//// Created by zhangxueming on 15/6/11.// Copyright (c) 2015年 zhangxueming. All rights reserved.//#import //NSMutableArrayi... 阅读全文
posted @ 2015-06-11 17:54 sirzhang 阅读(224) 评论(0) 推荐(0)
摘要://// main.m// OC3_字符串分割//// Created by zhangxueming on 15/6/11.// Copyright (c) 2015年 zhangxueming. All rights reserved.//#import /*2.对称字符串 传入一个字符... 阅读全文
posted @ 2015-06-11 17:53 sirzhang 阅读(258) 评论(0) 推荐(0)
摘要://// main.m// OC2_数组操作//// Created by zhangxueming on 15/6/11.// Copyright (c) 2015年 zhangxueming. All rights reserved.//#import //NSArrayint main... 阅读全文
posted @ 2015-06-11 17:52 sirzhang 阅读(258) 评论(0) 推荐(0)
摘要://// main.m// OC1_数组创建//// Created by zhangxueming on 15/6/11.// Copyright (c) 2015年 zhangxueming. All rights reserved.//#import //NSArray//创建不可变数... 阅读全文
posted @ 2015-06-11 17:51 sirzhang 阅读(444) 评论(0) 推荐(0)
摘要://// QFString.h// OC6_字符串练习//// Created by zhangxueming on 15/6/10.// Copyright (c) 2015年 zhangxueming. All rights reserved.//#import @interface Q... 阅读全文
posted @ 2015-06-11 11:22 sirzhang 阅读(909) 评论(0) 推荐(0)
摘要://// main.m// OC5_NSMutableString操作//// Created by zhangxueming on 15/6/10.// Copyright (c) 2015年 zhangxueming. All rights reserved.//#import //NS... 阅读全文
posted @ 2015-06-10 17:42 sirzhang 阅读(240) 评论(0) 推荐(0)
摘要://// main.m// OC4_NSString操作//// Created by zhangxueming on 15/6/10.// Copyright (c) 2015年 zhangxueming. All rights reserved.//#import //NSStringi... 阅读全文
posted @ 2015-06-10 17:41 sirzhang 阅读(248) 评论(0) 推荐(0)
摘要://// main.m// OC_NSString//// Created by qianfeng on 15/6/10.// Copyright (c) 2015年 qianfeng. All rights reserved.//#import //NSString 字符串类 创建不可变字... 阅读全文
posted @ 2015-06-10 14:06 sirzhang 阅读(298) 评论(0) 推荐(0)
摘要://// MyRect.h// OC3_MyRect//// Created by zhangxueming on 15/6/9.// Copyright (c) 2015年 zhangxueming. All rights reserved.//#import @interface MyR... 阅读全文
posted @ 2015-06-09 20:54 sirzhang 阅读(347) 评论(0) 推荐(0)
摘要://// Dog.h// OC6_类方法//// Created by zhangxueming on 15/6/9.// Copyright (c) 2015年 zhangxueming. All rights reserved.//#import @interface Dog : NSO... 阅读全文
posted @ 2015-06-09 18:58 sirzhang 阅读(203) 评论(0) 推荐(0)
摘要://// Dog.h// OC5_构造方法与self指针//// Created by zhangxueming on 15/6/9.// Copyright (c) 2015年 zhangxueming. All rights reserved.//#import @interface D... 阅读全文
posted @ 2015-06-09 18:44 sirzhang 阅读(259) 评论(0) 推荐(0)
摘要://// main.m// OC1_类与对象//// Created by zhangxueming on 15/6/9.// Copyright (c) 2015年 zhangxueming. All rights reserved.//#import //面向过程与面向对象//C语言偏向... 阅读全文
posted @ 2015-06-09 11:32 sirzhang 阅读(234) 评论(0) 推荐(0)
摘要://// main.c// 结构体//// Created by zhangxueming on 15/6/8.// Copyright (c) 2015年 zhangxueming. All rights reserved.//#include //name score age//stru... 阅读全文
posted @ 2015-06-08 17:30 sirzhang 阅读(343) 评论(0) 推荐(0)
摘要://// main.m// 练习//// Created by zhangxueming on 14/12/26.// Copyright (c) 2014年 zhangxueming. All rights reserved.//#import //// main.c// 字符串练习/... 阅读全文
posted @ 2015-06-08 11:57 sirzhang 阅读(3110) 评论(0) 推荐(1)
摘要://// main.c// 内存使用//// Created by zhangxueming on 15/6/8.// Copyright (c) 2015年 zhangxueming. All rights reserved.//#include #include #include //内... 阅读全文
posted @ 2015-06-08 11:17 sirzhang 阅读(269) 评论(0) 推荐(0)
摘要:#include "stdio.h" #include "stdlib.h" #include "io.h" #include "math.h" #include "time.h"#define OK 1#define ERROR 0#define TRUE 1#define FALS... 阅读全文
posted @ 2015-06-06 16:15 sirzhang 阅读(616) 评论(0) 推荐(0)
摘要:#include "stdio.h" #include "stdlib.h" #include "io.h" #include "math.h" #include "time.h"#define OK 1#define ERROR 0#define TRUE 1#define FALS... 阅读全文
posted @ 2015-06-06 16:14 sirzhang 阅读(282) 评论(0) 推荐(0)
摘要:#include "stdio.h"int Fbi(int i) /* 斐波那契的递归函数 */{ if( i < 2 ) return i == 0 ? 0 : 1; return Fbi(i - 1) + Fbi(i - 2); /* 这里Fbi就是函数自己,等... 阅读全文
posted @ 2015-06-06 16:13 sirzhang 阅读(452) 评论(0) 推荐(0)
摘要:#include "stdio.h" #include "stdlib.h" #include "io.h" #include "math.h" #include "time.h"#define OK 1#define ERROR 0#define TRUE 1#define FALS... 阅读全文
posted @ 2015-06-06 16:12 sirzhang 阅读(449) 评论(0) 推荐(0)
摘要:#include "stdio.h" #include "stdlib.h" #include "io.h" #include "math.h" #include "time.h"#define OK 1#define ERROR 0#define TRUE 1#define FALS... 阅读全文
posted @ 2015-06-06 16:10 sirzhang 阅读(324) 评论(0) 推荐(0)
摘要:#include "stdio.h" #include "stdlib.h" #include "io.h" #include "math.h" #include "time.h"#define OK 1#define ERROR 0#define TRUE 1#define FALS... 阅读全文
posted @ 2015-06-06 16:09 sirzhang 阅读(342) 评论(0) 推荐(0)
摘要:#include "string.h"#include "ctype.h" #include "stdio.h" #include "stdlib.h" #include "io.h" #include "math.h" #include "time.h"#define OK... 阅读全文
posted @ 2015-06-06 16:07 sirzhang 阅读(372) 评论(0) 推荐(0)
摘要:#include "stdio.h" #include "string.h"#include "ctype.h" #include "stdlib.h" #include "io.h" #include "math.h" #include "time.h"#define OK... 阅读全文
posted @ 2015-06-06 16:06 sirzhang 阅读(400) 评论(0) 推荐(0)
摘要:#include "stdio.h" #include "stdlib.h" #include "io.h" #include "math.h" #include "time.h"#define OK 1#define ERROR 0#define TRUE 1#define FALS... 阅读全文
posted @ 2015-06-06 16:05 sirzhang 阅读(486) 评论(0) 推荐(0)
摘要:#include #include int main() { char a[100], b[100]; char *temp; int counter = 0; memset( a, sizeof(a), 0 ); //清空内存 memset( a, sizeof... 阅读全文
posted @ 2015-06-06 13:40 sirzhang 阅读(1041) 评论(0) 推荐(0)
摘要://// main.c// 内存管理//// Created by zhangxueming on 15/6/5.// Copyright (c) 2015年 zhangxueming. All rights reserved.//#include #include "File.h"//内存... 阅读全文
posted @ 2015-06-05 16:44 sirzhang 阅读(247) 评论(0) 推荐(0)
摘要://// main.c// 字符串//// Created by zhangxueming on 15/6/5.// Copyright (c) 2015年 zhangxueming. All rights reserved.//#include #include //字符操作函数//int... 阅读全文
posted @ 2015-06-05 16:38 sirzhang 阅读(245) 评论(0) 推荐(0)
摘要://// main.c// 指针高级//// Created by zhangxueming on 15/6/4.// Copyright (c) 2015年 zhangxueming. All rights reserved.//#include //指针的数组(指针数组)//本质是数组,... 阅读全文
posted @ 2015-06-04 16:13 sirzhang 阅读(254) 评论(0) 推荐(0)
摘要://// main.c// 指针高级//// Created by zhangxueming on 15/6/4.// Copyright (c) 2015年 zhangxueming. All rights reserved.//#include //指针的数组(指针数组)//本质是数组,... 阅读全文
posted @ 2015-06-04 12:00 sirzhang 阅读(441) 评论(1) 推荐(0)
摘要://// main.c// 指针应用//// Created by zhangxueming on 15/6/3.// Copyright (c) 2015年 zhangxueming. All rights reserved.//#include //指针与函数void swap(int ... 阅读全文
posted @ 2015-06-03 18:48 sirzhang 阅读(245) 评论(0) 推荐(0)
摘要://// main.c// 指针基本操作//// Created by zhangxueming on 15/6/3.// Copyright (c) 2015年 zhangxueming. All rights reserved.//#include //地址://变量定义在内存中, 也有... 阅读全文
posted @ 2015-06-03 11:51 sirzhang 阅读(557) 评论(0) 推荐(0)
摘要://// main.c// 数组练习//// Created by zhangxueming on 15/6/2.// Copyright (c) 2015年 zhangxueming. All rights reserved.//#include //#include //7.计算某个由英... 阅读全文
posted @ 2015-06-02 17:54 sirzhang 阅读(324) 评论(0) 推荐(0)
摘要://// main.c// 函数递归//// Created by zhangxueming on 15/6/2.// Copyright (c) 2015年 zhangxueming. All rights reserved.//#include //n! = n*(n-1)!//(n-1... 阅读全文
posted @ 2015-06-02 17:52 sirzhang 阅读(357) 评论(0) 推荐(0)
摘要://// main.c// 数组排序与二维数组//// Created by zhangxueming on 15/6/1.// Copyright (c) 2015年 zhangxueming. All rights reserved.//#include //冒泡排序(从小到大)//9 ... 阅读全文
posted @ 2015-06-02 17:47 sirzhang 阅读(242) 评论(0) 推荐(0)
摘要://// Calculator.h// 函数-头文件//// Created by zhangxueming on 15/6/2.// Copyright (c) 2015年 zhangxueming. All rights reserved.//#ifndef __Calculator_h... 阅读全文
posted @ 2015-06-02 11:28 sirzhang 阅读(927) 评论(0) 推荐(0)
摘要://// main.c// 函数//// Created by zhangxueming on 15/6/2.// Copyright (c) 2015年 zhangxueming. All rights reserved.//#include extern int score;//声明全局... 阅读全文
posted @ 2015-06-02 11:26 sirzhang 阅读(173) 评论(0) 推荐(0)
摘要://// main.c// 数组排序与二维数组//// Created by zhangxueming on 15/6/1.// Copyright (c) 2015年 zhangxueming. All rights reserved.//#include //冒泡排序(从小到大)//9 ... 阅读全文
posted @ 2015-06-01 17:34 sirzhang 阅读(240) 评论(0) 推荐(0)
摘要://// main.c// 循环练习//// Created by zhangxueming on 15/5/29.// Copyright (c) 2015年 zhangxueming. All rights reserved.//#include //4.循环(计算某个数的位数) 输入一... 阅读全文
posted @ 2015-06-01 13:49 sirzhang 阅读(317) 评论(0) 推荐(0)
摘要://// main.c// 循环结构//// Created by zhangxueming on 15/5/28.// Copyright (c) 2015年 zhangxueming. All rights reserved.//#include ////goto 无条件跳转语句//vo... 阅读全文
posted @ 2015-06-01 13:48 sirzhang 阅读(226) 评论(0) 推荐(0)
摘要://// main.c// 分支结构//// Created by zhangxueming on 15/5/28.// Copyright (c) 2015年 zhangxueming. All rights reserved.//#include //但分支结构//if(条件表达式)//... 阅读全文
posted @ 2015-06-01 13:47 sirzhang 阅读(269) 评论(1) 推荐(0)
摘要://// main.c// 常量变量//// Created by zhangxueming on 15/5/27.// Copyright (c) 2015年 zhangxueming. All rights reserved.//#include //常量: 是C语言中最基本的元素,包括... 阅读全文
posted @ 2015-06-01 13:31 sirzhang 阅读(258) 评论(0) 推荐(0)
摘要://// main.c// 运算符与表达式//// Created by zhangxueming on 15/5/27.// Copyright (c) 2015年 zhangxueming. All rights reserved.//#include //表达式:由运算符常量变量构成的... 阅读全文
posted @ 2015-06-01 13:30 sirzhang 阅读(243) 评论(0) 推荐(0)
摘要://// main.c// 数组基础//// Created by zhangxueming on 15/6/1.// Copyright (c) 2015年 zhangxueming. All rights reserved.//#include //数组:一段命名的连续的内存空间//in... 阅读全文
posted @ 2015-06-01 13:24 sirzhang 阅读(246) 评论(0) 推荐(0)
摘要:main(){char s[30];strcpy(s, "Good News!"); /*给数组赋字符串*/...}上面程序在编译时, 遇到char s[30]这条语句时, 编译程序会在内存的某处留出连续30个字节的区域, 并将第一个字节的地址赋给s。当遇到strcpy( strcpy 为Turbo... 阅读全文
posted @ 2015-06-01 13:23 sirzhang 阅读(1755) 评论(0) 推荐(0)

AmazingCounters.com