代码搜索:CList
找到约 1,182 项符合「CList」的源代码
代码结果 1,182
www.eeworm.com/read/168218/9931739
h clist.h
template
int CircularList::Search(const T& x) const
{// Locate x in a circular list with head node.
ChainNode *current = first->link;
int index = 1; // index of current
fi
www.eeworm.com/read/168218/9931749
con clist.con
template
Chain LinearList::Convert()
{
Chain x;
ChainNode *prev, *y;
x.first = new ChainNode;
prev = x.first;
for (int i = 0; i < length; i++) {
y
www.eeworm.com/read/168218/9932079
h clist.h
template
int CircularList::Search(const T& x) const
{// Locate x in a circular list with head node.
ChainNode *current = first->link;
int index = 1; // index of current
fi
www.eeworm.com/read/167888/9948380
c clist.c
/* example-start clist clist.c */
#include
/* User clicked the "Add List" button. */
void button_add_clicked( gpointer data )
{
int indx;
/* Something silly to add to the list.
www.eeworm.com/read/362297/10006396
h clist.h
//clist.h
#ifndef CLIST_H
#define CLIST_H
#include"student.h"
class clist
{ private:
int length;
public:
cstudent *head;
clist();
clist(const clist &q);
www.eeworm.com/read/362297/10006444
cpp clist.cpp
#include"StdAfx.h"
#include"clist.h"
#include
#include
clist::clist()
{
head=NULL;
length=0;
}
clist::clist(const clist &q)//拷贝构造函数
{
head=q.head;
length=q.len
www.eeworm.com/read/358191/10194213
h clist.h
template
int CircularList::Search(const T& x) const
{// Locate x in a circular list with head node.
ChainNode *current = first->link;
int index = 1; // index of current
fi
www.eeworm.com/read/161587/10393864
h clist.h
template
int CircularList::Search(const T& x) const
{// Locate x in a circular list with head node.
ChainNode *current = first->link;
int index = 1; // index of current
fi
www.eeworm.com/read/160819/10495345
h clist.h
#ifndef _LIST_H
#define _LIST_H
#include
#include
using namespace std;
template class CListIterator;
template class CListPrinter;
// CList is a constan
www.eeworm.com/read/160819/10496586
cpp clist.cpp
#include
#include
#include
using namespace std;
template
CList::CList()
// postcondition: empty list constructed
: myCount(0)
{
myFirst =