代码搜索:Linelist
找到约 275 项符合「Linelist」的源代码
代码结果 275
www.eeworm.com/read/283541/9009940
cpp linelist2.cpp
//线性表的操作linelist2.cpp
void List::init(List *L)
{ L->elem=(ElemType *)malloc(LIST_INIT_SIZE*sizeof(ElemType));
if(!L->elem) exit(OVERFLOW);
L->length=0;
L->listsize=LIST_INIT_SIZE;
}
int L
www.eeworm.com/read/283541/9009951
cpp linelist1.cpp
//线性表的实现linelist1.cpp
#include "linelist1.h"
void List::init(List **L,int ms)
{*L=(List *)malloc(sizeof(List));
(*L)->length=0;
(*L)->MaxSize=ms;
}
int List::ListLength()
{return length;}
ElemTy
www.eeworm.com/read/283541/9010041
h linelist2.h
//线性表的类定义linelist2.h
#define EQUAL 1
#define OVERFLOW -1
#define LIST_INIT_SIZE 30
#define LISTINCREMENT 10
typedef struct STU{
char name[10];
char stuno[8];
int age;
int score;
}E
www.eeworm.com/read/380114/9162420
txt linelist1.txt
www.eeworm.com/read/380114/9162424
h linelist1.h
//线性表的类定义linelist1.h
#define MaxListSize 20
#define EQUAL 1
typedef struct STU{
char name[10];
char stuno[10];
int age;
int score;
}ElemType;
class List
{private:
//线性表的数组表示
www.eeworm.com/read/380114/9162462
cpp linelist2.cpp
//线性表的操作linelist2.cpp
void List::init(List *L)
{ L->elem=(ElemType *)malloc(LIST_INIT_SIZE*sizeof(ElemType));
if(!L->elem) exit(OVERFLOW);
L->length=0;
L->listsize=LIST_INIT_SIZE;
}
int L
www.eeworm.com/read/380114/9162475
cpp linelist1.cpp
//线性表的实现linelist1.cpp
#include "linelist1.h"
void List::init(List **L,int ms)
{*L=(List *)malloc(sizeof(List));
(*L)->length=0;
(*L)->MaxSize=ms;
}
int List::ListLength()
{return length;}
ElemTy
www.eeworm.com/read/380114/9162535
txt linelist2.txt
www.eeworm.com/read/380114/9162572
h linelist2.h
//线性表的类定义linelist2.h
#include
#include
#include
#include
#include
#define EQUAL 1
#define OVERFLOW -1
#define LIST_INIT_SIZE 30
#define LI
www.eeworm.com/read/165933/10044956
h linelist1.h
//线性表的类定义linelist1.h
#define MaxListSize 20
#define EQUAL 1
typedef struct STU{
char name[10];
char stuno[10];
int age;
int score;
}ElemType;
class List
{private:
//线性表的数组表示