代码搜索:Stack
找到约 10,000 项符合「Stack」的源代码
代码结果 10,000
www.eeworm.com/read/124167/14591913
java stack.java
import java.util.*;
public class Stack
{
Vector stk;
public Stack()
{
stk = new Vector();
}
//----------------------------------------
public void push(Object obj)
{
stk.ad
www.eeworm.com/read/124167/14591947
class stack.class
www.eeworm.com/read/224021/14607589
s stack.s
;/****************************************Copyright (c)**************************************************
;** 广州周立功单片机发展有限公司
;** 研
www.eeworm.com/read/123878/14607681
cpp stack.cpp
//使用前应定义SElemType
#include
#include "preDefine.h"
#define STACK_INIT_SIZE 100
#define STACKINCREMENT 10
typedef struct
{
SElemType *base;
SElemType *top;
int stacksize;
www.eeworm.com/read/123877/14607693
cpp stack.cpp
//使用前应定义SElemType
#include
#include "preDefine.h"
#define STACK_INIT_SIZE 100
#define STACKINCREMENT 10
typedef struct
{
SElemType *base;
SElemType *top;
int stacksize;
www.eeworm.com/read/123876/14607701
cpp stack.cpp
//使用前应定义SElemType
#include
#include "preDefine.h"
#define STACK_INIT_SIZE 100
#define STACKINCREMENT 10
typedef struct
{
SElemType *base;
SElemType *top;
int stacksize;
www.eeworm.com/read/123874/14607766
cpp stack.cpp
//使用前应定义SElemType
#include
#include "preDefine.h"
#define STACK_INIT_SIZE 100
#define STACKINCREMENT 10
typedef struct
{
SElemType *base;
SElemType *top;
int stacksize;
www.eeworm.com/read/123847/14610029
h stack.h
/* stack.h: Declarations for a stack of ints */
#define STK_ERROR -32767
void stk_push(int);
int stk_pop(void);
int stk_top(void);
int stk_size(void);
int stk_error(void);
www.eeworm.com/read/123847/14610031
c stack.c
/* stack.c: implementation */
#include "stack.h"
/* Private data: */
#define MAX 10
static int error = 0; /* error flag */
static int data[MAX]; /* the stack */
static int ptr; /*
www.eeworm.com/read/123847/14610087
java stack.java
public class Stack {
private int[] data;
private int ptr;
public Stack(int size) {
data = new int[size];
ptr = 0;
}
public void push(int x) {