代码搜索:SeqList
找到约 671 项符合「SeqList」的源代码
代码结果 671
www.eeworm.com/read/390141/8482554
h seqlist.h
#include
#include
typedef int Datatype;
const int MaxListSize=100;
class SeqList{
private:
Datatype data[MaxListSize];
int size;
public:
SeqList(void)
www.eeworm.com/read/187421/8640355
h seqlist.h
/*顺序表的初始化*/
void ListInitiate(SeqList *L)
{
L->size=0;
}
/* 求当前元素个数*/
int ListLength(SeqList L)
{
return L.size;
}
/*插入数据元素*/
int ListInsert(SeqList *L,int i,SS x)
{
int j;
www.eeworm.com/read/287197/8709959
rar seqlist.rar
www.eeworm.com/read/387024/8711529
cpp seqlist.cpp
#include"SeqList.h"
template SeqList::SeqList(int sz)
{
if(sz>0)
MaxSize=sz;
last=-1;
data=new Type[MaxSize];
}
templateint SeqList::Find (Type &x
www.eeworm.com/read/387024/8711538
h seqlist.h
//#include
template class SeqList
{
public:
SeqList(int MaxSize=defualt);
~SeqList(){delete []data;}
int Lenght()const {return last + 1;}
int Find (Type &x)cons
www.eeworm.com/read/285689/8822778
h seqlist.h
/************************************/
/* 线性表检索用的头文件 */
/* 文件名:seqlist.h */
/************************************/
#include
#define maxsize 100 /*预定义最大的数
www.eeworm.com/read/185058/9059283
h seqlist.h
#include
class SeqList //顺序表类
{
private:
int *table; //指向数组的指针
int size; //顺序表的数组容量
int len;
www.eeworm.com/read/184733/9082160
class seqlist.class
www.eeworm.com/read/380561/9142667
h seqlist.h
/*
Name: seqList.h
Copyright: jnu@math
Author: Fan zz (arcst1715@gmail.com)
Date: 29-09-08 16:39
Description:sequential list
*/
#include "status.h"
#define ElemType int
//线性表的动态分配
www.eeworm.com/read/380006/9168875
h seqlist.h
// Seqlist.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include "iostream.h"
#include "stdlib.h"
const int MaxListSize=100;
template
class Seq