2014年4月27日

摘要: 每天自己做的作业!不喜勿喷!#define _CRT_SECURE_NO_WARNINGS#include"stdio.h"#include"stdlib.h"#include"string.h"int myStr(char *p ,int *n){ int *num = n; int biaozh... 阅读全文

posted @ 2014-04-27 21:53 冷清秋_此去经年 阅读(475) 评论(0) 推荐(0)

摘要: 主调函数分配内存块;在被调用函数中使用;//写一个函数,;写一个主函数,用被调用函数,求出字符串1.在字符串2中间出现过几次!#define _CRT_SECURE_NO_WARNINGS#include"stdio.h"#include"stdlib.h"#include"string.h"cha... 阅读全文

posted @ 2014-04-27 21:52 冷清秋_此去经年 阅读(164) 评论(0) 推荐(0)

摘要: #define _CRT_SECURE_NO_WARNINGS#include"stdio.h"#include"stdlib.h"#include"string.h"/*键值对(”key = valude”)字符串,在开发中经常使用要求1:请自己定义一个接口,实现根据key获取valude;40分... 阅读全文

posted @ 2014-04-27 21:51 冷清秋_此去经年 阅读(457) 评论(0) 推荐(0)

摘要: #define _CRT_SECURE_NO_WARNINGS#include"stdio.h"#include"stdlib.h"#include"string.h"/*有一个字符串开头或结尾含有n个空格(" abcdefgddddd "),欲去掉前后中空格,返回一个新字符串;要求... 阅读全文

posted @ 2014-04-27 21:50 冷清秋_此去经年 阅读(297) 评论(0) 推荐(0)

摘要: #define _CRT_SECURE_NO_WARNINGS#include"stdio.h"#include"stdlib.h"#include"string.h"#include//字符串反转void main(){ char c; //char *str = "abcdefg";这是常量不能... 阅读全文

posted @ 2014-04-27 21:49 冷清秋_此去经年 阅读(141) 评论(0) 推荐(0)

摘要: #define _CRT_SECURE_NO_WARNINGS#include"stdio.h"#include"stdlib.h"#include"string.h"#includeint num(char *p, char *p2, int *n){ char *temp; //临时指针... 阅读全文

posted @ 2014-04-27 21:49 冷清秋_此去经年 阅读(238) 评论(0) 推荐(0)

摘要: #define _CRT_SECURE_NO_WARNINGS#include"stdlib.h"#include"stdio.h"#include"string.h"int maopao(char p[][100]){ char *buf; buf = (char *)malloc(sizeof(... 阅读全文

posted @ 2014-04-27 21:48 冷清秋_此去经年 阅读(1865) 评论(0) 推荐(0)

摘要: #includestdio.h#includestring.h#includestdlib.h排序一个字符串数组; 调用函数打印int myPrintf(char p){ char ArrayStr = p; int i = 0; for (i = 0; i 4; i++) { printf... 阅读全文

posted @ 2014-04-27 21:47 冷清秋_此去经年 阅读(224) 评论(0) 推荐(0)

摘要: #define _CRT_SECURE_NO_WARNINGS#include "stdio.h"#include"stdlib.h"#include"string.h"//自己创建一个数据类型: 数据类型的本质是固定大小内存块的别名//里面的数据类型 类型是 结构体//.c CP注意结构体... 阅读全文

posted @ 2014-04-27 21:46 冷清秋_此去经年 阅读(356) 评论(0) 推荐(0)

摘要: #define _CRT_SECURE_NO_WARNINGS#include"stdio.h"#include"stdlib.h"#include"string.h"//二维数组字符串排序..不调用函数//指针类型不一样。=====》内存模型不一样吧。。。。void main1(){ //定义一个... 阅读全文

posted @ 2014-04-27 21:46 冷清秋_此去经年 阅读(185) 评论(0) 推荐(0)

摘要: #define _CRT_SECURE_NO_WARNINGS#include"stdio.h"#include"string.h"#include"stdlib.h"/*有一个字符串符合以下特征(”abcdef, acccd, eeee, aaaa, e3eeeee, sssss";),要求写一个... 阅读全文

posted @ 2014-04-27 21:45 冷清秋_此去经年 阅读(630) 评论(0) 推荐(0)

摘要: #define _CRT_SECURE_NO_WARNINGS#include"stdio.h"#include"stdlib.h"#include"string.h"char **sortArray1Array2_01(char **pArray1, int nArray1Num, char(*p... 阅读全文

posted @ 2014-04-27 21:43 冷清秋_此去经年 阅读(224) 评论(0) 推荐(0)

摘要: #define _CRT_SECURE_NO_WARNINGS#include"stdio.h"#include"stdlib.h"#include"string.h"void main(){ int i = 0; char a[] = "abcdefdsafdsfgbbb"; FILE *fp =... 阅读全文

posted @ 2014-04-27 21:42 冷清秋_此去经年 阅读(900) 评论(0) 推荐(0)

摘要: #define _CRT_SECURE_NO_WARNINGS#include"stdio.h"#include"stdlib.h"#include"string.h"//读void main(){ int i = 0; FILE *fp = NULL; char *filename = "d:/1... 阅读全文

posted @ 2014-04-27 21:42 冷清秋_此去经年 阅读(349) 评论(0) 推荐(0)

摘要: #define _CRT_SECURE_NO_WARNINGS#include"stdio.h"#include"stdlib.h"#include"string.h"//手动操作给结构体赋值typedef struct _Teacher{ char name[64]; int age;}... 阅读全文

posted @ 2014-04-27 21:40 冷清秋_此去经年 阅读(148) 评论(0) 推荐(0)


博客园  ©  2004-2026
浙公网安备 33010602011771号 浙ICP备2021040463号-3