06 2015 档案
摘要://// main.m// OC5_Block//// Created by zhangxueming on 15/6/26.// Copyright (c) 2015年 zhangxueming. All rights reserved.//#import //block//函数指针int...
阅读全文
摘要:a 安吉 安庆 鞍山 澳门 b 保定 宝鸡 包头 北海 北京 蚌埠 滨州 c ...
阅读全文
摘要:38849998 115569999 39930000 116279998 ...
阅读全文
摘要:1 胡明涛 男 123558 2 成风采 男 122323 3 陈咬金 男 213...
阅读全文
摘要:Ryan 24 Tang xiaohei 23 //// main.m// OC1-XML文件解析//// Created by qianfeng on 15/6/25.// Copyrig...
阅读全文
摘要://// ReceiveReportDelegate.h// OC11_真正的代理//// Created by zhangxueming on 15/6/24.// Copyright (c) 2015年 zhangxueming. All rights reserved.//#impor...
阅读全文
摘要://// ProtectedDelegate.h// OC10_代理反向传值//// Created by zhangxueming on 15/6/24.// Copyright (c) 2015年 zhangxueming. All rights reserved.//#import @...
阅读全文
摘要://// ProtectedDeleagate.h// OC9_代理正向传值//// Created by zhangxueming on 15/6/24.// Copyright (c) 2015年 zhangxueming. All rights reserved.//#import @...
阅读全文
摘要://// ProtectedDelegate.h// OC8_代理基本概念//// Created by zhangxueming on 15/6/24.// Copyright (c) 2015年 zhangxueming. All rights reserved.//#import @p...
阅读全文
摘要://// Cat.h// OC7_代理的基本概念//// Created by zhangxueming on 15/6/24.// Copyright (c) 2015年 zhangxueming. All rights reserved.//#import @interface Cat ...
阅读全文
摘要://// Person.h// OC6_代理的基本概念//// Created by zhangxueming on 15/6/24.// Copyright (c) 2015年 zhangxueming. All rights reserved.//#import #import "Dog...
阅读全文
摘要://// ClassB.h// OC5_@class关键字//// Created by zhangxueming on 15/6/24.// Copyright (c) 2015年 zhangxueming. All rights reserved.//#import #import "C...
阅读全文
摘要://// Calulator.h// OC4_遵守多个协议//// Created by zhangxueming on 15/6/24.// Copyright (c) 2015年 zhangxueming. All rights reserved.//#import #import "A...
阅读全文
摘要://// Student.h// OC3_协议关键字//// Created by zhangxueming on 15/6/24.// Copyright (c) 2015年 zhangxueming. All rights reserved.//#import #import "Prog...
阅读全文
摘要://// Dog.h// OC2_使用系统协议//// Created by zhangxueming on 15/6/24.// Copyright (c) 2015年 zhangxueming. All rights reserved.//#import @interface Dog :...
阅读全文
摘要://// Programmer.h// OC1_协议语句//// Created by zhangxueming on 15/6/24.// Copyright (c) 2015年 zhangxueming. All rights reserved.//#import #import "Co...
阅读全文
摘要://// main.m// OC8-Json文件解析//// Created by qianfeng on 15/6/23.// Copyright (c) 2015年 qianfeng. All rights reserved.//#import //Json//Javascript 语法...
阅读全文
摘要://// main.m// OC5-文件归档//// Created by qianfeng on 15/6/23.// Copyright (c) 2015年 qianfeng. All rights reserved.//#import //归档:把对象数据存储到文件的过程.//反归档:...
阅读全文
摘要://// main.m// OC3_Plist文件 用 writeToFile创建//// Created by zhangxueming on 15/6/23.// Copyright (c) 2015年 zhangxueming. All rights reserved.//#impor...
阅读全文
摘要://// main.m// NS-Date//// Created by qianfeng on 15/6/23.// Copyright (c) 2015年 qianfeng. All rights reserved.//#import //DSdateint main(int argc,...
阅读全文
摘要://// TextHander.h// OC10_文件练习//// Created by zhangxueming on 15/6/19.// Copyright (c) 2015年 zhangxueming. All rights reserved.//#import @interface...
阅读全文
摘要://// main.m// OC9_文件操作//// Created by zhangxueming on 15/6/19.// Copyright (c) 2015年 zhangxueming. All rights reserved.//#import int main(int argc...
阅读全文
摘要://// main.m// OC8_NSData//// Created by zhangxueming on 15/6/19.// Copyright (c) 2015年 zhangxueming. All rights reserved.//#import int main(int ar...
阅读全文
摘要://// main.m// OC7_目录操作//// Created by zhangxueming on 15/6/19.// Copyright (c) 2015年 zhangxueming. All rights reserved.//#import int main(int argc...
阅读全文
摘要://// main.m// OC6_目录及文件的创建//// Created by zhangxueming on 15/6/19.// Copyright (c) 2015年 zhangxueming. All rights reserved.//#import int main(int ...
阅读全文
摘要://// main.m// OC5_NSFileManger//// Created by zhangxueming on 15/6/19.// Copyright (c) 2015年 zhangxueming. All rights reserved.//#import //NSFileM...
阅读全文
摘要://// MusicManager.h// OC4_单例//// Created by zhangxueming on 15/6/19.// Copyright (c) 2015年 zhangxueming. All rights reserved.//#import @interface ...
阅读全文
摘要://// main.m// OC3_Copy及MultableCopy//// Created by zhangxueming on 15/6/19.// Copyright (c) 2015年 zhangxueming. All rights reserved.//#import //co...
阅读全文
摘要://// main.m// OC2_ARC MRC混合编程//// Created by zhangxueming on 15/6/19.// Copyright (c) 2015年 zhangxueming. All rights reserved.//#import #import "P...
阅读全文
摘要://// Dog.h// OC1_类方法的内存管理//// Created by zhangxueming on 15/6/19.// Copyright (c) 2015年 zhangxueming. All rights reserved.//#import @interface Dog...
阅读全文
摘要://// Dog.h// OC12_自动释放池//// Created by zhangxueming on 15/6/18.// Copyright (c) 2015年 zhangxueming. All rights reserved.//#import @interface Dog :...
阅读全文
摘要://// Dog.h// OC11_自动释放池//// Created by zhangxueming on 15/6/18.// Copyright (c) 2015年 zhangxueming. All rights reserved.//#import @interface Dog :...
阅读全文
摘要://// main.m// OC10_数组的内存管理//// Created by zhangxueming on 15/6/18.// Copyright (c) 2015年 zhangxueming. All rights reserved.//#import #import "Dog....
阅读全文
摘要://// main.m// OC9_字符串的内存管理//// Created by zhangxueming on 15/6/18.// Copyright (c) 2015年 zhangxueming. All rights reserved.//#import //字符串内存管理, re...
阅读全文
摘要://// Person.h// OC8_setter方法展开//// Created by zhangxueming on 15/6/18.// Copyright (c) 2015年 zhangxueming. All rights reserved.//#import #import "...
阅读全文
摘要://// Person.h// OC7_复合类内存管理(setter方法)//// Created by zhangxueming on 15/6/18.// Copyright (c) 2015年 zhangxueming. All rights reserved.//#import #i...
阅读全文
摘要://// Person.h// OC6_复合类的类存管理//// Created by zhangxueming on 15/6/18.// Copyright (c) 2015年 zhangxueming. All rights reserved.//#import #import "Do...
阅读全文
摘要://// Person.h// OC5_复合类的内存管理//// Created by zhangxueming on 15/6/18.// Copyright (c) 2015年 zhangxueming. All rights reserved.//#import @interface ...
阅读全文
摘要://// Dog.h// OC4_内存管理法则//// Created by zhangxueming on 15/6/18.// Copyright (c) 2015年 zhangxueming. All rights reserved.//#import @interface Dog :...
阅读全文
摘要://// Dog.h// OC3_dealloc//// Created by zhangxueming on 15/6/18.// Copyright (c) 2015年 zhangxueming. All rights reserved.//#import @interface Dog ...
阅读全文
摘要://// Dog.h// OC2_引用计数//// Created by zhangxueming on 15/6/18.// Copyright (c) 2015年 zhangxueming. All rights reserved.//#import @interface Dog : N...
阅读全文
摘要://// WordManger.h// OC7_单词个数//// Created by zhangxueming on 15/6/17.// Copyright (c) 2015年 zhangxueming. All rights reserved.//#import @interface ...
阅读全文
摘要://// HtmlManger.h// OC6-网址分割//// Created by qianfeng on 15/6/17.// Copyright (c) 2015年 qianfeng. All rights reserved.//#import #import "HtmlItem.h...
阅读全文
摘要://// Dog.h// OC2-重写//// Created by qianfeng on 15/6/17.// Copyright (c) 2015年 qianfeng. All rights reserved.//#import "Animal.h"@interface Dog : A...
阅读全文
摘要://// Cat.h// OC3-父类指针指向子类对象//// Created by qianfeng on 15/6/17.// Copyright (c) 2015年 qianfeng. All rights reserved.//#import "Animal.h"@interface...
阅读全文
摘要://// main.c// 枚举和预处理//// Created by qianfeng on 15/6/3.// Copyright (c) 2015年 qianfeng. All rights reserved.//#include /* 枚举:用于声明一组常数 定义:enum 枚举名 ...
阅读全文
摘要:assign: 简单赋值,不更改索引计数copy: 建立一个索引计数为1的对象,然后释放旧对象retain:释放旧的对象,将旧对象的值赋予输入对象,再提高输入对象的索引计数为1Copy其实是建立了一个相同的对象,而retain不是:比如一个NSString对象,地址为0×1111,内容为@”STR”...
阅读全文
摘要://// NSString+Reverse.h// OC5_类别//// Created by zhangxueming on 15/6/16.// Copyright (c) 2015年 zhangxueming. All rights reserved.//#import @interf...
阅读全文
摘要://// Dog.h// OC4_实例变量的作用域//// Created by zhangxueming on 15/6/16.// Copyright (c) 2015年 zhangxueming. All rights reserved.//#import @interface Dog...
阅读全文
摘要://// Dog.h// OC3_选择器//// Created by zhangxueming on 15/6/16.// Copyright (c) 2015年 zhangxueming. All rights reserved.//#import @interface Dog : NS...
阅读全文
摘要://// Dog.h// OC2_点语法(属性关键字)//// Created by zhangxueming on 15/6/16.// Copyright (c) 2015年 zhangxueming. All rights reserved.//#import @interface D...
阅读全文
摘要://// Dog.h// OC1_点语法//// Created by zhangxueming on 15/6/16.// Copyright (c) 2015年 zhangxueming. All rights reserved.//#import @interface Dog : NS...
阅读全文
摘要://// MyDictionary.h// OC4_电子词典//// Created by zhangxueming on 15/6/15.// Copyright (c) 2015年 zhangxueming. All rights reserved.//#import #define F...
阅读全文
摘要://// LrcManager.h// OC3_歌词解析//// Created by zhangxueming on 15/6/15.// Copyright (c) 2015年 zhangxueming. All rights reserved.//#import #import "Lr...
阅读全文
摘要://// WordManager.h// OC1_汉字拼音转换//// Created by zhangxueming on 15/4/27.// Copyright (c) 2015年 zhangxueming. All rights reserved.//#import #import ...
阅读全文
摘要://// main.m// OC3_字典//// Created by zhangxueming on 15/6/12.// Copyright (c) 2015年 zhangxueming. All rights reserved.//#import //NSDictionary//创建一...
阅读全文
摘要://// MyClass.h// OC2_班级类//// Created by zhangxueming on 15/6/12.// Copyright (c) 2015年 zhangxueming. All rights reserved.//#import #import "Studen...
阅读全文
摘要://// BankAccount.h// OC1_银行账户类//// Created by zhangxueming on 15/6/10.// Copyright (c) 2015年 zhangxueming. All rights reserved.//#import @interfac...
阅读全文
摘要://// Fraction.h// OC2_分数类//// Created by zhangxueming on 15/6/10.// Copyright (c) 2015年 zhangxueming. All rights reserved.//#import @interface Fra...
阅读全文
摘要://// main.m// OC4_可变数组//// Created by zhangxueming on 15/6/11.// Copyright (c) 2015年 zhangxueming. All rights reserved.//#import //NSMutableArrayi...
阅读全文
摘要://// main.m// OC3_字符串分割//// Created by zhangxueming on 15/6/11.// Copyright (c) 2015年 zhangxueming. All rights reserved.//#import /*2.对称字符串 传入一个字符...
阅读全文
摘要://// main.m// OC2_数组操作//// Created by zhangxueming on 15/6/11.// Copyright (c) 2015年 zhangxueming. All rights reserved.//#import //NSArrayint main...
阅读全文
摘要://// main.m// OC1_数组创建//// Created by zhangxueming on 15/6/11.// Copyright (c) 2015年 zhangxueming. All rights reserved.//#import //NSArray//创建不可变数...
阅读全文
摘要://// QFString.h// OC6_字符串练习//// Created by zhangxueming on 15/6/10.// Copyright (c) 2015年 zhangxueming. All rights reserved.//#import @interface Q...
阅读全文
摘要://// main.m// OC5_NSMutableString操作//// Created by zhangxueming on 15/6/10.// Copyright (c) 2015年 zhangxueming. All rights reserved.//#import //NS...
阅读全文
摘要://// main.m// OC4_NSString操作//// Created by zhangxueming on 15/6/10.// Copyright (c) 2015年 zhangxueming. All rights reserved.//#import //NSStringi...
阅读全文
摘要://// main.m// OC_NSString//// Created by qianfeng on 15/6/10.// Copyright (c) 2015年 qianfeng. All rights reserved.//#import //NSString 字符串类 创建不可变字...
阅读全文
摘要://// MyRect.h// OC3_MyRect//// Created by zhangxueming on 15/6/9.// Copyright (c) 2015年 zhangxueming. All rights reserved.//#import @interface MyR...
阅读全文
摘要://// Dog.h// OC6_类方法//// Created by zhangxueming on 15/6/9.// Copyright (c) 2015年 zhangxueming. All rights reserved.//#import @interface Dog : NSO...
阅读全文
摘要://// Dog.h// OC5_构造方法与self指针//// Created by zhangxueming on 15/6/9.// Copyright (c) 2015年 zhangxueming. All rights reserved.//#import @interface D...
阅读全文
摘要://// main.m// OC1_类与对象//// Created by zhangxueming on 15/6/9.// Copyright (c) 2015年 zhangxueming. All rights reserved.//#import //面向过程与面向对象//C语言偏向...
阅读全文
摘要://// main.c// 结构体//// Created by zhangxueming on 15/6/8.// Copyright (c) 2015年 zhangxueming. All rights reserved.//#include //name score age//stru...
阅读全文
摘要://// main.m// 练习//// Created by zhangxueming on 14/12/26.// Copyright (c) 2014年 zhangxueming. All rights reserved.//#import //// main.c// 字符串练习/...
阅读全文
摘要://// main.c// 内存使用//// Created by zhangxueming on 15/6/8.// Copyright (c) 2015年 zhangxueming. All rights reserved.//#include #include #include //内...
阅读全文
摘要:#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...
阅读全文
摘要:#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...
阅读全文
摘要:#include "stdio.h"int Fbi(int i) /* 斐波那契的递归函数 */{ if( i < 2 ) return i == 0 ? 0 : 1; return Fbi(i - 1) + Fbi(i - 2); /* 这里Fbi就是函数自己,等...
阅读全文
摘要:#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...
阅读全文
摘要:#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...
阅读全文
摘要:#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...
阅读全文
摘要:#include "string.h"#include "ctype.h" #include "stdio.h" #include "stdlib.h" #include "io.h" #include "math.h" #include "time.h"#define OK...
阅读全文
摘要:#include "stdio.h" #include "string.h"#include "ctype.h" #include "stdlib.h" #include "io.h" #include "math.h" #include "time.h"#define OK...
阅读全文
摘要:#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...
阅读全文
摘要:#include #include int main() { char a[100], b[100]; char *temp; int counter = 0; memset( a, sizeof(a), 0 ); //清空内存 memset( a, sizeof...
阅读全文
摘要://// main.c// 内存管理//// Created by zhangxueming on 15/6/5.// Copyright (c) 2015年 zhangxueming. All rights reserved.//#include #include "File.h"//内存...
阅读全文
摘要://// main.c// 字符串//// Created by zhangxueming on 15/6/5.// Copyright (c) 2015年 zhangxueming. All rights reserved.//#include #include //字符操作函数//int...
阅读全文
摘要://// main.c// 指针高级//// Created by zhangxueming on 15/6/4.// Copyright (c) 2015年 zhangxueming. All rights reserved.//#include //指针的数组(指针数组)//本质是数组,...
阅读全文
摘要://// main.c// 指针高级//// Created by zhangxueming on 15/6/4.// Copyright (c) 2015年 zhangxueming. All rights reserved.//#include //指针的数组(指针数组)//本质是数组,...
阅读全文
摘要://// main.c// 指针应用//// Created by zhangxueming on 15/6/3.// Copyright (c) 2015年 zhangxueming. All rights reserved.//#include //指针与函数void swap(int ...
阅读全文
摘要://// main.c// 指针基本操作//// Created by zhangxueming on 15/6/3.// Copyright (c) 2015年 zhangxueming. All rights reserved.//#include //地址://变量定义在内存中, 也有...
阅读全文
摘要://// main.c// 数组练习//// Created by zhangxueming on 15/6/2.// Copyright (c) 2015年 zhangxueming. All rights reserved.//#include //#include //7.计算某个由英...
阅读全文
摘要://// main.c// 函数递归//// Created by zhangxueming on 15/6/2.// Copyright (c) 2015年 zhangxueming. All rights reserved.//#include //n! = n*(n-1)!//(n-1...
阅读全文
摘要://// main.c// 数组排序与二维数组//// Created by zhangxueming on 15/6/1.// Copyright (c) 2015年 zhangxueming. All rights reserved.//#include //冒泡排序(从小到大)//9 ...
阅读全文
摘要://// Calculator.h// 函数-头文件//// Created by zhangxueming on 15/6/2.// Copyright (c) 2015年 zhangxueming. All rights reserved.//#ifndef __Calculator_h...
阅读全文
摘要://// main.c// 函数//// Created by zhangxueming on 15/6/2.// Copyright (c) 2015年 zhangxueming. All rights reserved.//#include extern int score;//声明全局...
阅读全文
摘要://// main.c// 数组排序与二维数组//// Created by zhangxueming on 15/6/1.// Copyright (c) 2015年 zhangxueming. All rights reserved.//#include //冒泡排序(从小到大)//9 ...
阅读全文
摘要://// main.c// 循环练习//// Created by zhangxueming on 15/5/29.// Copyright (c) 2015年 zhangxueming. All rights reserved.//#include //4.循环(计算某个数的位数) 输入一...
阅读全文
摘要://// main.c// 循环结构//// Created by zhangxueming on 15/5/28.// Copyright (c) 2015年 zhangxueming. All rights reserved.//#include ////goto 无条件跳转语句//vo...
阅读全文
摘要://// main.c// 分支结构//// Created by zhangxueming on 15/5/28.// Copyright (c) 2015年 zhangxueming. All rights reserved.//#include //但分支结构//if(条件表达式)//...
阅读全文
摘要://// main.c// 常量变量//// Created by zhangxueming on 15/5/27.// Copyright (c) 2015年 zhangxueming. All rights reserved.//#include //常量: 是C语言中最基本的元素,包括...
阅读全文
摘要://// main.c// 运算符与表达式//// Created by zhangxueming on 15/5/27.// Copyright (c) 2015年 zhangxueming. All rights reserved.//#include //表达式:由运算符常量变量构成的...
阅读全文
摘要://// main.c// 数组基础//// Created by zhangxueming on 15/6/1.// Copyright (c) 2015年 zhangxueming. All rights reserved.//#include //数组:一段命名的连续的内存空间//in...
阅读全文
摘要:main(){char s[30];strcpy(s, "Good News!"); /*给数组赋字符串*/...}上面程序在编译时, 遇到char s[30]这条语句时, 编译程序会在内存的某处留出连续30个字节的区域, 并将第一个字节的地址赋给s。当遇到strcpy( strcpy 为Turbo...
阅读全文

浙公网安备 33010602011771号