代码搜索:LinkStack
找到约 226 项符合「LinkStack」的源代码
代码结果 226
www.eeworm.com/read/301648/13853150
c linkstack.c
#include
#include
#include
#define maxsize 100
//定义链栈的结构体
typedef struct node
{
int data;
struct node *next;
}*linkstack,stacknode;
//置空栈
linkstack
www.eeworm.com/read/485014/6570755
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/485014/6570757
class linkstack.class
www.eeworm.com/read/264889/11296128
h linkstack.h
#ifndef LINKSTACK_CLASS
#define LINKSTACK_CLASS
#include
#include
using namespace std;
#include "link.h"
template
class LinkStack
{ LinkedList StackList;
www.eeworm.com/read/408164/11403178
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/408164/11403181
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/408164/11403182
cpp linkstack.cpp
//LinkStack.cpp
#include "LinkStack.h"
/*
* 前置条件:栈不存在
* 输 入:无
* 功 能:栈的初始化
* 输 出:无
* 后置条件:构造一个空栈
*/
template
LinkStack::LinkStack( )
{
top=NULL;
}
/*
*
www.eeworm.com/read/408164/11403183
dsp linkstack.dsp
# Microsoft Developer Studio Project File - Name="
www.eeworm.com/read/151911/12161970
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/151911/12161982
h linkstack.h
//LinkStack.h
#ifndef LINKSTACK_H
#define LINKSTACK_H
template
struct Node
{
T data;
Node *next; //此处也可以省略
};
template
class LinkStack
{
public: