代码搜索:Linelist
找到约 275 项符合「Linelist」的源代码
代码结果 275
www.eeworm.com/read/310200/13655866
h linelist.h
//线性表的类定义linelist.h
#define OVERFLOW -1
#define LIST_INIT_SIZE 30
#define LISTINCREMENT 10
//线性表的动态分配顺序存储结构
class List{
private:
ElemType *elem;//存储空间基址
int length; //当前长度
int listsize;
www.eeworm.com/read/405663/11459596
class linelist.class
www.eeworm.com/read/346512/11740573
class linelist.class
www.eeworm.com/read/212829/15148058
cpp linelist.cpp
//线性表的操作linelist.cpp
#include "linelist.h"
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_IN
www.eeworm.com/read/212829/15148065
h linelist.h
//线性表的类定义linelist.h
#define OVERFLOW -1
#define LIST_INIT_SIZE 30
#define LISTINCREMENT 10
//线性表的动态分配顺序存储结构
class List{
private:
ElemType *elem;//存储空间基址
int length; //当前长度
int listsize;
www.eeworm.com/read/211084/15187468
cpp linelist.cpp
//线性表的操作linelist.cpp
#include "linelist.h"
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_IN
www.eeworm.com/read/211084/15187475
h linelist.h
//线性表的类定义linelist.h
#define OVERFLOW -1
#define LIST_INIT_SIZE 30
#define LISTINCREMENT 10
//线性表的动态分配顺序存储结构
class List{
private:
ElemType *elem;//存储空间基址
int length; //当前长度
int listsize;
www.eeworm.com/read/242732/4541339
c linelist.c
/* linelist.c
*
* Copyright (c) 1996-2001 Mike Gleason, NCEMRSoft.
* All rights reserved.
*
*/
#include "syshdrs.h"
/* Dynamically make a copy of a string. */
char *
StrDup(const cha
www.eeworm.com/read/192391/5157338
h linelist.h
#ifndef _LINELIST_H
#define _LINELIST_H
#include "Line.h"
class Surface;
class LineList
{
public:
LineList();
void drawViewport( Surface& dst );
void add( const FixVec2& a,
www.eeworm.com/read/192391/5157361
cpp linelist.cpp
#include "LineList.h"
LineList::LineList() :
m_count(0),
m_ptr(0)
{
}
void LineList::add( const FixVec2& a, const FixVec2& b, int c )
{
m_ptr = (m_ptr+1) & (MAX_LINES-1);
m_lines[