2014年5月4日

摘要: #define _CRT_SECURE_NO_WARNINGS#include"stdio.h"#include"stdlib.h"#include"string.h"void MyPrintf(char **);void MYSORT(char **, int);void SORTBUF(ch... 阅读全文

posted @ 2014-05-04 12:12 冷清秋_此去经年 阅读(184) 评论(0) 推荐(0)


2014年4月29日

摘要: #include "iostream"using namespace std;//class 关键字 //Circle 是类的名字class Circle{int m_age;//什么都不加 默认为private; private: //private 修饰的成员变量和... 阅读全文

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

摘要: 众所周知;在C语言里面用const;是可以修改的;//C语言里面可以通过指针修改int main(){//可以这么说在C语言中a是一个只读的常量。按照理论我们不好修改//const int a=10;printf("%x",&a);//c语言里面的 常量a是可以去地址的。int *p=null;... 阅读全文

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


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)


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