自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(8)
  • 收藏
  • 关注

原创 简单的排序应用代码实现

#include<stdio.h> #include<stdlib.h> #define NUM 5 #define TRUE 1 #define FALSE 0 #define OVERFLOW -2 #define LIST_INIT_SIZE 100 #define LISTINCREAMENT 10 #define EQ(a,b) ((a)==(b)) #define LT(a,b) ((a)<(b)) #define LQ(a,b) ((a)<=(b)) ty.

2021-06-12 17:41:22 106

原创 简单的查找应用代码实现

#include<stdio.h> #include<stdlib.h> #define TRUE 1 #define FALSE 0 #define OVERFLOW -2 #define LIST_INIT_SIZE 100 #define LISTINCREAMENT 10 #define EQ(a,b) ((a)==(b)) #define LT(a,b) ((a)<(b)) #define LQ(a,b) ((a)<=(b)) typedef int Stat.

2021-06-09 17:05:46 191

原创 无向图深度、广度遍历(邻接矩阵、邻接表)

#include<stdio.h> #include<stdlib.h> #include<conio.h> #include<malloc.h> #define MAX_VEX_NUM 20 typedef struct { char vertex[MAX_VEX_NUM]; int arcs[MAX_VEX_NUM][MAX_VEX_NUM]; int vex_num; int arc_num; }Mgraph; int LocateVex(Mg.

2021-05-19 20:12:06 609

原创 简单的二叉树遍历系统

#include<stdio.h> #include<stdlib.h> #include<string.h> #define OK 1 #define ERROR 0 #define OVERFLOW -1 #define STACK_INIT_SIZE 50 typedef int Status; typedef float ElemType; typedef struct BiTNode { char data; struct BiTNode *lchild,*

2021-05-07 17:09:24 182 2

原创 简单的单链表处理系统(初学者制)

#include<stdio.h> #include<stdlib.h> #include<windows.h> #define TRUE 1 #define FALSE 0 #define OVERFLOW 2 typedef int Status; typedef float ElemType; typedef struct LNode { ElemType data; struct LNode *next; }LNode,*LinkList; //创建单链表.

2021-03-26 20:52:05 125

原创 三元组处理器(动态分配内存)

实现抽象数据类型“三元组”,动态分配内存。每个三元组由任意三个实数的序列构成,基本操作包括:创建一个三元组,取三元组的任意一个分量,置三元组的任意一个分量,求三元组的最大分量,求三元组的最小分量,显示三元组,销毁三元组等。 #include<stdio.h> #include<stdlib.h> #include<windows.h> #define OK 1 #define ERROR 0 typedef int Status; typedef flo...

2021-03-19 09:25:52 1393

原创 顺序表处理功能模板

#include<stdio.h> #include<stdlib.h> #define LIST_INIT_SIZE 100 #define LISTINCREAMENT 10 #define TRUE 1 #define FALSE 0 #define OVERFLOW 2 typedef int Status; typedef float ElemType; typedef struct { ElemType *elem; int length; int listsiz.

2021-03-14 18:48:55 62

原创 简单的三元组处理系统(初学者制)

功能:实现对三元组的简单处理 运行结果: #include<stdio.h> #include<windows.h> #define OK 1; typedef int Status; typedef float ElemType; typedef struct { ElemType e[3]; }Triplet; //创建三元组 Status InitTriplet(Triplet &T,ElemType v0,ElemType v1,ElemType v2,Sta

2021-03-06 17:39:15 381 5

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除