摘要: 以下内容取自于http://blog.csdn.net/huanghui167/article/details/41346663。 关于头文件中的 static inline函数 头文件中常见static inline函数,于是思考有可能遇到的问题,如头文件经常会被包含会不会产生很多副本?网上说法不 阅读全文
posted @ 2017-01-09 11:14 Technology小白 阅读(8610) 评论(0) 推荐(0) 编辑
摘要: 步骤: 1. 将队列元素依次出队列并依次Push进栈. 2. 将栈中的元素依次Pop出栈并依次进队列. Bool InvertLinkedQueue_Dynamic(pLinkedQueue pQ){ pDynamicStack pDS = (pDynamicStack)malloc(sizeof( 阅读全文
posted @ 2017-01-04 21:35 Technology小白 阅读(1198) 评论(0) 推荐(0) 编辑
摘要: #ifndef _CONST_H_#define _CONST_H_ #include <stdio.h>#include <stdlib.h> typedef enum { False = 0, True,}Bool; typedef int ElemType; #define QUEUE_MAX 阅读全文
posted @ 2017-01-04 21:30 Technology小白 阅读(209) 评论(0) 推荐(0) 编辑
摘要: #ifndef _CONST_H_#define _CONST_H_ #include <stdio.h>#include <stdlib.h> typedef enum { False = 0, True,}Bool; typedef int ElemType; #define QUEUE_MAX 阅读全文
posted @ 2017-01-04 21:28 Technology小白 阅读(682) 评论(0) 推荐(0) 编辑
摘要: #ifndef _CONST_H_#define _CONST_H_ #include <stdio.h>#include <stdlib.h> typedef enum { False = 0, True,}Bool; typedef int ElemType; #define QUEUE_MAX 阅读全文
posted @ 2017-01-04 21:26 Technology小白 阅读(1159) 评论(0) 推荐(0) 编辑
摘要: #ifndef _CONST_H_#define _CONST_H_ #include <stdio.h>#include <stdlib.h> typedef enum { False = 0, True,}Bool; typedef int ElemType; #define QUEUE_MAX 阅读全文
posted @ 2017-01-04 21:25 Technology小白 阅读(1159) 评论(0) 推荐(0) 编辑
摘要: #ifndef _CONST_H_#define _CONST_H_ #include <stdio.h>#include <stdlib.h> typedef enum { False = 0, True,}Bool; typedef int ElemType; #define QUEUE_MAX 阅读全文
posted @ 2017-01-04 21:23 Technology小白 阅读(995) 评论(0) 推荐(0) 编辑