CodeBus
www.codebus.net
Search
Sign in
Sign up
Hot Search :
Source
embeded
web
remote control
p2p
game
More...
Location :
Home
Search - operator parsing
Main Category
SourceCode
Documents
Books
WEB Code
Develop Tools
Other resource
Search - operator parsing - List
[
Algorithm
]
Computer
DL : 0
VC++表达式解析(计算)工具源代码,由江汉石油学院计算机系的学生所编写。表达式中只能有圆括号、函数名、运算符、常数与变量。一、变量名的命名规则:1、可以是字符、或字符串 2、不能以数字开头 3、不能夹杂有空格、运算符或标点符号,以及以下字符:、|、=、&、 、$、@、#、`、~.二、函数有sin、cos、tan、cot、sqrt、asin、acos、atan、log,均需要小写。函数后的变量名可以加括号,也可以不要括号,如:log(C1)与logC1是相同的。三、运算符有+(加)、-(减)、*(乘)、/(除)与^(幂次)。 -VC++ expression parsing (computing) tools and source code, written by the Jianghan Petroleum Institute, Department of Computer Science students. Expression only parentheses, functions, operators, constants and variables. A variable name naming rules: 1, can be a character or string , can not begin with a number can not be mixed with spaces, operator or punctuation, as well as the following characters: |, =, & , , $, @,#, `, ~, the function sin, cos, of tan, cot, the sqrt, asin, acos, atan, log, and require lowercase. Function after the variable name in parentheses, can also not in parentheses, such as: log (C1) is the same with logC1. Operator+ (plus),- (minus),* (multiplication),/(division) and ^ (power law).
Date
: 2025-12-17
Size
: 26kb
User
:
JackToms
CodeBus
is one of the largest source code repositories on the Internet!
Contact us :
1999-2046
CodeBus
All Rights Reserved.