📄 ss_def01.h
字号:
#include "math.h"
#include "time.h"
#include <stdio.h>
#include <stdlib.h>
#define true 1
#define false 0
#define MAX 50
/*---------表结构的定义.为简化起见,表元素我们使用整型数据-----------*/
/*为方便在查找时设置监视哨以提高查找效率,
data[0]的位置不存储元素,
即线性表的第i个元素被存放在data[i]上*/
typedef struct /*注意typedef的使用*/
{
int data[MAX]; /*数据域*/
int length; /*表长*/
}listtype;
void initiatelist(listtype *l) ;
int insertl(listtype *l, int i, int x) ;
int delete_l(listtype *l, int i);
void ptlist(listtype *l);
int make10(listtype *l);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -