05 2016 档案

C语言 break跳出循环
摘要:通过以上运行结果证明,break只能跳出一重循环,并不能跳出所有循环。 阅读全文

posted @ 2016-05-31 13:13 寒魔影 阅读(1468) 评论(0) 推荐(0) 编辑

C语言 链表的创建--打印--逆置--新增--删除--排序--释放
摘要:#define _CRT_SECURE_NO_WARNINGS #include #include #include //定义结构体 typedef struct _student{ int num; struct _student *pNext; }Student; //创建链表(顺序创建链表) Student * SList_Create(int *len/*out*... 阅读全文

posted @ 2016-05-25 12:13 寒魔影 阅读(311) 评论(0) 推荐(0) 编辑

C语言 动态库简单开发
摘要:动态库项目 测试项目 效果图 阅读全文

posted @ 2016-05-20 17:30 寒魔影 阅读(685) 评论(0) 推荐(0) 编辑

C语言 三级指针的应用
摘要://三级指针的使用 #define _CRT_SECURE_NO_WARNINGS #include #include #include //三级指针做输出 int getmun(char ***pout/*out*/,int *num){ int ERRO_MSG = 0; if (pout==NULL) { ERRO_MSG = 1; ... 阅读全文

posted @ 2016-05-16 15:21 寒魔影 阅读(1821) 评论(0) 推荐(0) 编辑

C语言 二级指针内存模型混合实战
摘要://二级指针内存模型混合实战 #define _CRT_SECURE_NO_WARNINGS #include #include #include //将内存模型①和内存模型②的数据拷贝到内存模型③ char ** threemodel(char **pin1,int num1,char (*pin2)[20],int num2,char **pin3,int *pnum3){ ... 阅读全文

posted @ 2016-05-12 15:24 寒魔影 阅读(516) 评论(0) 推荐(0) 编辑

C语言 二级指针内存模型③
摘要://二级指针内存模型③ #define _CRT_SECURE_NO_WARNINGS #include #include #include //内存模型详解 //一维数组类型是 typedef int Myarr[5]; Myarr a;(其中Myarr是一维数组类型) //Myarr *p;p是一维数组的指针 //是一维数组的指针的类型是 typedef int(*PArrType... 阅读全文

posted @ 2016-05-12 14:33 寒魔影 阅读(231) 评论(0) 推荐(0) 编辑

C语言 文件操作12--文件加密
摘要://文件加密解密 #define _CRT_SECURE_NO_WARNINGS #include #include #include #include"des.h" //加密分为对称加密和非对称加密 //对称加密:加密的密钥和解密的密钥一样,对称的特点是--加密速度快,用于大文件加密 //常用的加密算法:des 3des ssff33 sm6系列 //非对称加密:加密的密钥和解密的密... 阅读全文

posted @ 2016-05-11 16:44 寒魔影 阅读(1001) 评论(0) 推荐(0) 编辑

C语言 文件操作11--文件函数再讲 fseek()和ftell()
摘要://文件函数再讲 //fseek(),ftell(), #define _CRT_SECURE_NO_WARNINGS #include #include void main(){ //定义文件路径 char *path = "E:\\Look\\b1.txt";//仅支持window char *path1 = "E:/Look/b1.txt";//支持window... 阅读全文

posted @ 2016-05-04 16:48 寒魔影 阅读(615) 评论(0) 推荐(0) 编辑

C语言 文件操作10--配置文件读写
摘要://配置文件读写项目 #define _CRT_SECURE_NO_WARNINGS #include #include #include int writefile(const char *path/*in*/, char *pkey/*in*/, char *pvalue/*in*/){ int ERRO_MSG = 0; if (path == NULL) ... 阅读全文

posted @ 2016-05-02 16:08 寒魔影 阅读(2360) 评论(0) 推荐(0) 编辑

C语言 文件操作9--fgetc()和fputc()
摘要://fgetc()和fputc() #define _CRT_SECURE_NO_WARNINGS #include #include #include //文本写文件 int writeWord(const char *path,const char *pword){ int ERRO_MSG = 0; int i = 0; if (path == NULL) ... 阅读全文

posted @ 2016-05-01 09:37 寒魔影 阅读(465) 评论(0) 推荐(0) 编辑

C语言 文件操作8--fputs()和fgets()
摘要://fputs()和fgets() #define _CRT_SECURE_NO_WARNINGS #include #include #include //文本写文件 int writeWord(const char *path,const char *pword){ int ERRO_MSG = 0; if (path == NULL) { ERR... 阅读全文

posted @ 2016-05-01 08:46 寒魔影 阅读(294) 评论(0) 推荐(0) 编辑

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5
点击右上角即可分享
微信分享提示