没有合适的资源?快使用搜索试试~ 我知道了~
数据结构试验中的查找的相关操作
资源推荐
资源详情
资源评论
#include<stdio.h>
#include<stdlib.h>
#define OK 1
#define ERROR 0
#define OVERFLOW -2
#define LIST_INIT_SIZE 100
#define LISTINCREMENT 10
typedef struct
{
int key;
}SelemType;
typedef struct
{
SelemType *elem;
int length;
int listsize;
}SqList;
int menu_select(int number)
{
do
{
system("cls");
printf("\t\t\t******* menu select ********\n");
printf("\t\t\t 1.建立顺序表并初始化\n");
printf("\t\t\t 2.对顺序表进行折半查找\n");
printf("\t\t\t 3.对顺序表进行顺序查找\n");
printf("\t\t\t 4.退出\n");
printf("\t\t\t*****************************\n");
#include<stdlib.h>
#define OK 1
#define ERROR 0
#define OVERFLOW -2
#define LIST_INIT_SIZE 100
#define LISTINCREMENT 10
typedef struct
{
int key;
}SelemType;
typedef struct
{
SelemType *elem;
int length;
int listsize;
}SqList;
int menu_select(int number)
{
do
{
system("cls");
printf("\t\t\t******* menu select ********\n");
printf("\t\t\t 1.建立顺序表并初始化\n");
printf("\t\t\t 2.对顺序表进行折半查找\n");
printf("\t\t\t 3.对顺序表进行顺序查找\n");
printf("\t\t\t 4.退出\n");
printf("\t\t\t*****************************\n");
资源评论
sx523
- 粉丝: 0
- 资源: 8
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功