自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 静态链表

#include<stdio.h>#include<stdlib.h>#define MAXSIZE 1000 //链表最大长度为1000typedef struct { int data; int cur; //cursor,为0时表示无指向}Component,StaticLinkList[MAXSIZE];i...

2020-03-02 23:02:53 135

原创 C语言实现链表

#include<stdio.h>#include<stdlib.h>typedef struct LNode{ int data; //数据 struct LNode *next; //后继节点的指针}LNode,*LinkList; //LinkList是头指针类型...

2020-02-15 15:46:43 166

原创 C语言实现线性表

#include<stdio.h>#include<stdlib.h>#define InitSize 200typedef struct { int data[InitSize]; //线性表数据 int length; //线性表长度}SeqList; void InitList(SeqList *L)...

2020-02-11 21:24:17 418

原创 C实现可增长数组

可增长数组主要代码如下#include"array.h"#include<stdio.h>#include<stdlib.h>const int BLOCK_SIZE=20; //数组每次增长20个单元为一个单位typedef struct //建立一个数组结构体{ int *array; //数组的指针 int size; //数组...

2020-02-02 06:50:32 1235

原创 warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]

写结构体时遇到的问题“warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]”#include<stdio.h>#include<stdlib.h>#include<string.h>struct STU{ char *name; ...

2020-01-27 21:16:24 5221

空空如也

空空如也

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

TA关注的人

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