#include <stdio.h>
#include <malloc.h>
#include <string.h>
#define TRUE 1
#define FALSE 0
#define OK 1
#define ERROR 0
#define INFEASIBLE -1
#define OVERFLOW -2
typedef int Status;
typedef int ElemType;
本文介绍了使用C语言进行基础数据结构定义的方法,包括必要的头文件引入、宏定义及类型声明等内容,为后续复杂的数据结构实现奠定基础。
#include <stdio.h>
#include <malloc.h>
#include <string.h>
#define TRUE 1
#define FALSE 0
#define OK 1
#define ERROR 0
#define INFEASIBLE -1
#define OVERFLOW -2
typedef int Status;
typedef int ElemType;
600
251

被折叠的 条评论
为什么被折叠?