代码搜索:LinkStack
找到约 226 项符合「LinkStack」的源代码
代码结果 226
www.eeworm.com/read/167649/9957348
h linkstack.h
struct Node
{ Node_entry entry; // data members
Node *next;
Node( ){ next=NULL; } // constructors
Node(Node_entry item, Node *add_on = NULL); // construct
www.eeworm.com/read/362558/9992890
h linkstack.h
#define TRUE 1
#define FALSE 0
typedef struct node
{
StackElementType data;
struct node *next;
}LinkStackNode;
typedef LinkStackNode *LinkStack;
/*进栈操作。*/
int Push(LinkStack top, Stac
www.eeworm.com/read/361402/10054400
java linkstack.java
// linkStack.java
// demonstrates a stack implemented as a list
// to run this program: C>java LinkStackApp
////////////////////////////////////////////////////////////////
class Link
{
pu
www.eeworm.com/read/361402/10054403
class linkstack.class
www.eeworm.com/read/161929/10356424
dsw linkstack.dsw
Microsoft Developer Studio Workspace File, Format Version 6.00
# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE!
###############################################################################
www.eeworm.com/read/161929/10356433
h linkstack.h
//LinkStack.h
#ifndef LINKSTACK_H
#define LINKSTACK_H
template
struct Node
{
T data;
Node *next; //此处也可以省略
};
template
class LinkStack
{
public:
www.eeworm.com/read/161929/10356436
cpp linkstack.cpp
//LinkStack.cpp
#include "LinkStack.h"
/*
* 前置条件:栈不存在
* 输 入:无
* 功 能:栈的初始化
* 输 出:无
* 后置条件:构造一个空栈
*/
template
LinkStack::LinkStack( )
{
top=NULL;
}
/*
*
www.eeworm.com/read/161929/10356440
dsp linkstack.dsp
# Microsoft Developer Studio Project File - Name="
www.eeworm.com/read/161837/10366341
dsw linkstack.dsw
Microsoft Developer Studio Workspace File, Format Version 6.00
# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE!
###############################################################################
www.eeworm.com/read/161837/10366349
h linkstack.h
//LinkStack.h
#ifndef LINKSTACK_H
#define LINKSTACK_H
template
struct Node
{
T data;
Node *next; //此处也可以省略
};
template
class LinkStack
{
public: