随笔分类 - 开发 / 数据结构
摘要:#include <iostream> using namespace std; #define OK 1 #define ERROR 0 #define OVERFLOW -2 typedef int Status; typedef struct { int* base; int front; i
阅读全文
摘要:#include <iostream> using namespace std; typedef struct StackNode { int data; struct StackNode* next; }StackNode, * LinkStack; int InitStack(LinkStack
阅读全文
摘要:#include <iostream> #define MAXSIZE 100 #define ERROR 0 #define OK 1 using namespace std; typedef struct { int* elem; int lenght; }SqlList; int InitLi
阅读全文
摘要:include <iostream> using namespace std; #define OK 1 #define ERROR 0 typedef int ElemType; typedef struct QNode { ElemType data; struct QNode* Next; }
阅读全文
摘要:#include <iostream> #define OK 1 #define ERROR 0 #define MAXSIZE 100 typedef int ElemType; typedef struct { ElemType* top; ElemType* base; int stacksi
阅读全文
摘要:VS调试的程序,scanf_s会报错。代码加上#define _CRT_SECURE_NO_WARNINGS 1 #include <stdio.h> #include <stdlib.h> #define OK 1 #define ERROR 0 #define MAXSIZE 100 #defi
阅读全文
摘要:数据结构课上的一份实验报告 主要是应对实验报告,应该存在逻辑错误的地方没改。 #include <iostream> typedef int KeyType; typedef int InfoType ; #define MAXSIZE 100 typedef struct { KeyType ke
阅读全文
