摘要:
Read the fucking source code -Linus Bendict Torvalds 基础: 具备一些基本的 C 语言知识和 Intel CPU 汇编语言知识 有关 C 语言最佳 参考资料仍是 Brain W. Kernighan 先生和 Dennis M. Ritchie 先生 阅读全文
摘要:
/** * @author huihut * @E-mail:huihut@outlook.com * @version 创建时间:2016年9月9日 * 说明:本程序实现了一个顺序栈。 * 功能:有初始化、销毁、判断空、清空、入栈、出栈、取元素的操作。 */ #include "stdio.h" #include "stdlib.h" #include "malloc.h" //5个常量定... 阅读全文
摘要:
/** * @author huihut * @E-mail:huihut@outlook.com * @version 创建时间:2016年9月9日 * 说明:本程序实现了一个顺序表。 */ #include "stdio.h" #include "stdlib.h" #include "malloc.h" //5个常量定义 #define TRUE 1 #define FALSE 0 #... 阅读全文
摘要:
#define BLACK 1 #define RED 0 #include using namespace std; class bst { private: struct Node { int value; bool color; Node *leftTree, *rightTree, *parent; Nod... 阅读全文
摘要:
大学数学学习书籍(书名前数字无特殊意义) 1. 同济大学高等数学(第7版 徐小湛)书籍和视频 链接:https://pan.baidu.com/s/1cWa6wBn9LBd_9ypor78jMA 提取码:74g1 2. 给讨厌数学的人:数学的奥妙和生活 小室直树 链接:https://pan.bai 阅读全文
摘要:
/** * @author huihut * @E-mail:huihut@outlook.com * @version 创建时间:2016年9月23日 * 说明:本程序实现了一个具有头结点的单链表。 */ #include "stdio.h" #include "stdlib.h" #include "malloc.h" //5个常量定义 #define TRUE 1 #define FA... 阅读全文
摘要:
/** * @author huihut * @E-mail:huihut@outlook.com * @version 创建时间:2016年9月18日 * 说明:本程序实现了一个单链表。 */ #include "stdio.h" #include "stdlib.h" #include "malloc.h" //5个常量定义 #define TRUE 1 #define FALSE 0 ... 阅读全文
摘要:
#include #include #define SUCCESS 1 #define UNSUCCESS 0 #define OVERFLOW -1 #define OK 1 #define ERROR -1 typedef int Status; typedef int KeyType; typedef struct{ KeyType key; }RcdType; typed... 阅读全文
摘要:
本文介绍了GCC和C99标准中inline使用上的不同之处。inline属性在使用的时候,要注意以下两点:inline关键字在GCC参考文档中仅有对其使用在函数定义(Definition)上的描述,而没有提到其是否能用于函数声明(Declare)。 从 inline的作用来看,其放置于函数声明中应当 阅读全文
摘要:
#include #include #define TRUE 1 #define FALSE 0 #define OK 1 #define ERROR 0 #define OVERFLOW -1 #define SUCCESS 1 #define UNSUCCESS 0 #define dataNum 5 int i = 0; int dep = 0; char data[dataNum] ... 阅读全文