文件名称:calculator
-
所属分类:
- 标签属性:
- 上传时间:2012-11-09
-
文件大小:1017byte
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
/*本程序是一个简单的计算器模拟程序。对任意给定的正确的四则表达式,程序计算其结果值并输出。表达式中运算分量为无
正负号整数,运算符为+ - * / ,圆括号按常规配对,表达式以“=”结束。函数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
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.