搜索资源列表
简单的表达式求值
- 语法分析正确后就可以求值了,求值时用到一个操作数堆栈和操作符堆栈,以及一个算符优先表(存储了运算符之间的优先关系),具体细节可以阅读源码。-syntax analysis is correct after it evaluates the value used for a number of operations and the operator stacks stack, and an operator priority list (stored Operators relations bet
fushuyunhuan
- 一个复数四则运算的C++源程序代码,主要是对运算符重载实现-a plural four Operational C source code, the main thing is to achieve Operator
classstr2
- 完善字符串类的运算符功能 1、 利用运算符重载完善字符串类的运算符功能。如: 串+整数;整数+串;浮点数+串;串-串;串/串 等; 2、 编制一个带菜单的小系统,演示该类的运算符操作。 -perfect string Operators such a function, using Operator perfect string category Operators function. Such as : String Integer; Integer string;
hugeint00
- 此程序用于大整数运算,定义了类,运算符重载等。可以用。还有阶乘输出 -procedure for large integer arithmetic, the definition of the category, such as Operator. Can use. There factorial output
clonePtr
- a non-sharing smart pointer class that can be used with STL containers such as std::map, vector, list, set, and deque. The smart pointer has an assignment operator and greater than operator that call the target object s operator.-a non-sharing smart
linkedmatrix
- 一种基于二维链表的稀疏矩阵模半板类设计 A template Class of sparse matrix. Key technology: bin,2-m linked matrix. constructors: 1.normal constuctor 2.copy constuctor. 3.assignment constructor. Basic operator: 1. addition(sub) of two matrix 2. inverse of a ma
cstring
- 定义一个字符串类String,其私有成员为一个字符串指针。设计构造函数,拷贝构造函数,析构函数,设置新值函数Set, 打印成员值函数Print。借助此String类,将操作符"=="、">"、"<"的重载函数设置为String类的成员函数,实现对操作符"=="、">"、"<"的重载,使之能直接比较两个String类类型的字符串的大小,设计各种情况调用此三个重载操作符。-definition of a string type String, its private members as a str
Expression-D.S.Report2
- 数据结构课程设计报告,算术表达式求值,自动辨别算符优先级,括号,将char型转换成int计算,再将结果显示,具有精美用户界面-data structure curriculum design, arithmetic expression evaluates automatically identify operator precedence, in brackets, char to int conversion type, the result shows that the user inte
fushusizeyunsuan
- 此程序由C++语言编写而成,主要功能是实现复数之间的加、减、乘、除的运算,分别由数字键1、2、3、4代替。包含设计报告-this procedure prepared by the C language, the major function of the complex, plus or minus, multiplication, addition to the operator, Key figures from the 1, 2, 3 and 4 instead. Includes de
ecstphfm
- 这是数据结构基础算发知识的VC实现 如二叉树遍历、拓扑排序、哈夫曼树等-This data structure is based on the operator's knowledge of VC as binary tree traversal, topological sorting, Huffman tree;
worker123654
- (1)设计一个的菜单将在实现的功能显示出来,并有选择提示 (2)教师的基本信息包括编号、职工分类(\"行政人员\",\"教师\",\"一般员工\",\"退休人员\",\"返聘人员\",\"临时工\")、性别、年龄,职务(\"无\",\"科级\",\"处级\",\"地级\") 、职称(\"无\",\"初级\",\"中级\",\"高级\") 、政治面貌(\"群众\",\"中共党员\",\"民主党派\")、学历(\"中专\",\"大专\",\"大学\",\"硕士\",\"博士\") (3)信息
intcalculate
- 以字符形式从终端输入语法正确的,不含变量的整数表达式。利用算符优先关系,实现对算术四则混合运算表达式求值。-to form characters from the terminal input grammar correct, the non-integer variable expression. Operator priority relations and the realization of the four arithmetic operations mixed expression
Matrix_Chain
- 求解矩阵链相乘的问题,通过动态规划的方法,来求解该问题,使得矩阵链的相乘的运算最少。-chain matrix multiplication to solve the problem through dynamic programming methods to solve the problem, making the chain matrix multiplication operator at least.
sy3-ex
- 算符有限分析法 //程序功能: //根据算符优先分析法,将表达式进行语法分析,判断一个表达式是否正确。 //文法:E→E+E E-E E*E E/E (E) i // 其中i为无符号整数-operator limited analysis / / procedural functions : / / operator under priority analysis, to conduct regular expression syntax analysis, judgment, an expr
exp2_4 建立一个复数类imaginary
- 建立一个复数类imaginary,其私有数据成员x和y表示复数的实部和虚部,构造函数imaginary用于对复数的实部和虚部初始化,友员函数add,sub,mul和div分别用于进行复数的加、减、乘和除法运算,静态函数show用于显示运算结果。在主函数中,实例化两个复数,并输入一个运算符,按运算符选择相应的友员函数进行复数运算,然后输出运算结果。 -The establishment of a complex class imaginary, its private data member
Operator
- 供给那些大学同学们用的,编译原理中的算符优先分析程序代码-use for Operator preferred analysis program code
Gauss-projection-operator
- 大地测量学 高斯投影正反算 这是测绘遥感学生必须的程序-Positive and negative Gauss projection operator
2d-array-Operator-overloading
- 对二维数组进行运算符+、—的重载,一个使用成员函数,另一个使用友元函数-Add and Subtraction between Two dimensional arrays,using Operator overloading.
operator-overload-2
- 实现多种运算符重载,通过类声明及函数定义,实例化对象进行运算-operator overload
operator
- vc++中运算符重载函数++运算符重载函数的实现;-c++ operator overloading function++ operator overloading function to achieve