代码搜索:MyStack
找到约 249 项符合「MyStack」的源代码
代码结果 249
www.eeworm.com/read/114927/15033900
cpp transferfix.cpp
#include"mystack.h"
#include"mystack_e.cpp"
#include
int isp(char a){
switch(a){
case '=':return 0;
case '(':return 1;
//case '^':return 7;
case '*':case '/':case '%':return
www.eeworm.com/read/392695/8329771
h status.h
#pragma once
#define STATUS_MAX_NUM 500 //最大状态数
/*-----------------------------*/
/*用于求一个状态中的活前缀的栈
/*-----------------------------*/
class mystack
{
public:
mystack(void);
public:
void
www.eeworm.com/read/184880/9068323
asm song.asm
MYSTACK SEGMENT STACK
DB 1024 DUP(?)
MYSTACK ENDS
MYDATA SEGMENT
MENUSTR DB '**************************************',0DH,0AH
DB '*1,PRESS KEYBOARD PLAY PIANO *',0DH,0AH
DB '*
www.eeworm.com/read/340896/3263492
java teststack.java
import java.util.*;
class TestStack{
public static void main(String[] args) {
Stack mystack1=new Stack();
Stack mystack2=new Stack();
//push some num into the stack
for(int i=0;i
www.eeworm.com/read/251030/4424845
c stacks.c
#include
#define m 100
struct Mystack
{
char element[m];
int top;
};
void push(struct Mystack *s,char x) /*将x的值压入栈顶*/
{
s->element[s->top]=x;
s->top++;
}
int IsEmpty(st
www.eeworm.com/read/407492/11418082
asm 66.asm
MyStack segment stack
dw 64 dup(?)
MyStack ends
data segment
string db 8,?,9 dup(?);接受输入
string_1 db 8 dup(?);加数
sum db 8 dup(?) ;被加数及结果
bx_first dw 0;保护string_1的地址
bx_second dw 0
www.eeworm.com/read/181187/5278340
cpp testprogstack.cpp
//Program to test the various operations of a stack
#include
#include "myStack.h"
using namespace std;
void testCopyConstructor(stackType otherStack);
int main()
{
www.eeworm.com/read/112473/15484671
cpp testprogstack.cpp
//Program to test the various operations of a stack
#include
#include "myStack.h"
using namespace std;
void testCopyConstructor(stackType otherStack);
int main()
{
stac
www.eeworm.com/read/399920/7822033
cpp testprogstack.cpp
//Program to test the various operations of a stack
#include
#include "myStack.h"
using namespace std;
int main()
{
stackType intStack(50);
stackType tempStack;
www.eeworm.com/read/181187/5278324
cpp postfix.cpp
//Postfix Calculator
#include
#include
#include
#include "mystack.h"
using namespace std;
void evaluateExpression(ifstream& inpF, ofstream& outF,