04 2017 档案

摘要:#include #include #define OK 1 #define ERROR 0 #define TRUE 1 #define FALSE 0 #define INFEASIBLE -1 #define OVERFLOW -2 /* #define ElemType int #define Status int */ typedef int ElemType; typedef ... 阅读全文
posted @ 2017-04-01 16:25 影落明湖 阅读(300) 评论(0) 推荐(0)
摘要:#pragma once #include "stdafx.h" #include "Stack.h" //方法的声明实现的 分离写法 容易 报错,IDE还找不到错误的地方 //表达式求值 class Calculator { private: //Calculator's stack,运算存储区 Stack s; //7个方法 public: //建立一个空计算器栈 Calcula... 阅读全文
posted @ 2017-04-01 16:21 影落明湖 阅读(167) 评论(0) 推荐(0)
摘要:Stack.h 阅读全文
posted @ 2017-04-01 16:20 影落明湖 阅读(508) 评论(0) 推荐(0)