搜索资源列表
tlparen
- « 问题描述:在对高级语言编写的程序进行编译时会遇到表达式或字符串的括号匹配问题。例如C++程序中左、右花括号“{”和“}”的匹配问题。表达式(字符串)的括号匹配问题要求确定一给定表达式(字符串)中左、右括号的匹配情况。例如,表达式(x*(x+y)-z)在位置1 和4处有左括号,在位置8 和11 处有右括号。位置1 处的左括号与位置11 处的右括号相匹配;位置4 处的左括号与位置8 处的右括号相匹配。而在表达式(x+y)*z)(中,位置8处的右括号没有可匹配的左括号,位置9处的左括号
C源代码实例
- 包含220个C语言的各种源程序:001 第一个C程序 002 运行多个源文件 003 求整数之积 004 比较实数大小 005 字符的输出 006 显示变量所占字节数 007 自增/自减运算 008 数列求和 009 乘法口诀表 010 猜数字游戏 011 模拟ATM(自动柜员机)界面 012 用一维数组统计学生成绩 013 用二维数组实现矩阵转置 014 求解二维数组的最大/最小元素 015 利用数组求前n个
WL40987330 C语言算法集
- 目录 第一部分 基础篇 001 第一个C程序 002 运行多个源文件 003 求整数之积 004 比较实数大小 005 字符的输出 006 显示变量所占字节数 007 自增/自减运算 008 数列求和 009 乘法口诀表 010&
stack
- 数据结构实验,括号匹配实验(c语言)。最简单的程序,用数组实现,应付实验课程没有问题,经过测试成功。-Experimental data structure, parentheses matching experiment (c language)
Reverse_Polish_expression_is_evaluated
- 利用栈实现逆波兰表达式求值 基本要求: 1.输入表达式并对表达式的括号式匹配问题进行判 2.输出逆波兰式的值 -The use of Reverse Polish expression stack to achieve the basic requirements for evaluation: 1. Enter the expression in brackets of the expression of type 2 matching the issue of subcon
khpp
- 利用栈的知识判断一串字符中的括号是否匹配问题。-Knowledge of the use of the stack to determine whether the string of characters in parentheses matching problem.
2008121902m
- 括号匹配问题,我自己写的程序,和大家分享-Brack match
new
- 括号匹配问题的解决,包括文件读入等操作 上传和大家分享交流-Brace matching problems, including the file into the upload and share operations such as exchange
kuohao-dui
- 括号匹配问题,输入字符,有3种括号(){}[],括号不能交叉,可以嵌套,且()中不能有[],和{},[]中不能有{}-Parenthesis matching problem, the input characters, there are three brackets (){}[], brackets can not cross, can be nested, and () can not have [], and {},[] can not have {}
Ex1
- 从屏幕输入字符 判断括号匹配问题 数据结构作业-Judgment parenthesis matching data structure operations input characters from the screen
jisuan
- c++在vc2010的clr平台上实现表达式计算的可视化程序,含有括号匹配语法问题检测。还是做得比较好的-c++ in vc2010 the clr platform visualization program expression calculated to contain parenthesis matching syntax problem detection.
ex1
- 设计一个判断表达式中括号匹配问题的程序。要判断的表达式如下: {a=(1+v(b[3+c[4]])) {a=(b[0]+1) } a={1+(b[2]-b[4])}*3+(b[1]-b[3])/5-Design a program to determine the expression in parentheses matching problem. To determine if the expression is as follows: {a = (1+v (b [3+c
kuohaopipei
- 括号匹配的问题,输入一个运算公式,判断输入的运算公式中是不是括号匹配-Parenthesis matching problem, enter an arithmetic formula, the calculation formula of the judgment entered is not matching brackets
guohaopipei
- 用C++写的括号匹配问题。运用到堆栈。是个简单的小程序-failed to translate
BracketMatch
- 括号匹配问题:假设表达式中只包含圆括号、方括号和花括号这三种括号,并且它们可互相嵌套。如,([{}])([ ])或({([ ][( )])})等均为正确的格式,但{[ ]})}或{[( )]或([ ]}均为不正确的格式。 -Bracket Match program
BracketMatch
- 很简易的一个括号匹配问题算法源码,进栈和出栈的简单程序,实现包括括弧在内的简单符号,判断输入的字符串是否是匹配的-A very simple question parenthesis matching algorithm source code, into the stack and the stack of simple procedures, simple symbols, including the brackets, including, to determine whether the
Expression-matching-parentheses
- 表达式的圆括号匹配问题,主要用来判断输入表达式的括号是否匹配-Expression matching parentheses, is mainly used to determine whether the input expression matching parentheses
括号匹配
- 实现括号匹配问题,我们经常遇到输入括号,却不知道括号是否搭配正确的问题,通过本程序可以实现自动检测括号是否匹配的问题(To achieve parentheses matching problem, we often encounter input brackets, but do not know whether brackets correct collocation problem, through this program can automatically detect bracket
parenthesis_ match
- 利用stack,检查输入内容中括号是否匹配(Using stack, check whether parentheses are bracketed in the input)