文件名称:calculator
介绍说明--下载内容均来自于网络,请自行研究使用
/*本程序是一个简单的计算器模拟程序。对任意给定的正确的四则表达式,程序计算其结果值并输出。表达式中运算分量为无
正负号整数,运算符为+ - * / ,圆括号按常规配对,表达式以“=”结束。函数getach()为获取表达式的一个合法字符,
并将字符存入变量curch;函数指针数组func[]是为了统一加减乘除计算而设置的。*/
-/* This program is a simple calculator simulation program. Correct for any given expression of four, the program calculates the result value and output. Computing the expression for the unsigned integer quantity, operator of+-* /, according to conventional matching parentheses, the expression to " =" end. Function getach () to obtain expression of a legitimate character, and character into the variable curch array of function pointers func [] to a unified set of calculations, Math.* /
正负号整数,运算符为+ - * / ,圆括号按常规配对,表达式以“=”结束。函数getach()为获取表达式的一个合法字符,
并将字符存入变量curch;函数指针数组func[]是为了统一加减乘除计算而设置的。*/
-/* This program is a simple calculator simulation program. Correct for any given expression of four, the program calculates the result value and output. Computing the expression for the unsigned integer quantity, operator of+-* /, according to conventional matching parentheses, the expression to " =" end. Function getach () to obtain expression of a legitimate character, and character into the variable curch array of function pointers func [] to a unified set of calculations, Math.* /
(系统自动生成,下载前可以参看下载内容)
下载文件列表
calculator.c