随笔分类 - C
摘要://// main.c// 枚举和预处理//// Created by qianfeng on 15/6/3.// Copyright (c) 2015年 qianfeng. All rights reserved.//#include /* 枚举:用于声明一组常数 定义:enum 枚举名 ...
阅读全文
摘要://// 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 #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(条件表达式)//...
阅读全文

浙公网安备 33010602011771号