文件名称:calculator
- 所属分类:
- 数学计算/工程计算
- 资源属性:
- [Windows] [Visual C] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 14kb
- 下载次数:
- 0次
- 提 供 者:
- shi****
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
一个不带界面的计算器,用户只需要在文本文件input.txt中输入计算表达式,即可通过运行程序得到结果,输出在output.txt中;
支持加减乘除,取余数,乘方,括号等等;
如:5+4 = 输出9
5+4*4+9/3 = 输出24
(5+4)*4+9/3 = 输出39
(50+4)*(40 3)+288/(147-3) = 输出56
(50+4)^2*(40 3)+288/(147-3) = 输出2918-Interface without a calculator, the user need only enter a text file input.txt expressions, you can get results by running the program, the output in the output.txt support calculation, check the balance, involution, brackets etc. such as: 5+4 = 9 5+4 Output* 4+9/3 = output 24 (5+4)* 4+9/3 = output 39 (50+4)* (40 3)+288/(147-3) = output 56 (50+4) ^ 2* (40 3)+288/(147-3) = output 2918
支持加减乘除,取余数,乘方,括号等等;
如:5+4 = 输出9
5+4*4+9/3 = 输出24
(5+4)*4+9/3 = 输出39
(50+4)*(40 3)+288/(147-3) = 输出56
(50+4)^2*(40 3)+288/(147-3) = 输出2918-Interface without a calculator, the user need only enter a text file input.txt expressions, you can get results by running the program, the output in the output.txt support calculation, check the balance, involution, brackets etc. such as: 5+4 = 9 5+4 Output* 4+9/3 = output 24 (5+4)* 4+9/3 = output 39 (50+4)* (40 3)+288/(147-3) = output 56 (50+4) ^ 2* (40 3)+288/(147-3) = output 2918
(系统自动生成,下载前可以参看下载内容)
下载文件列表
calculator
..........\asdf.dsp
..........\asdf.dsw
..........\asdf.ncb
..........\asdf.opt
..........\asdf.plg
..........\calculator.h
..........\input.txt
..........\main.cpp
..........\MathOptr.h
..........\output.txt
..........\Stack.h
..........\asdf.dsp
..........\asdf.dsw
..........\asdf.ncb
..........\asdf.opt
..........\asdf.plg
..........\calculator.h
..........\input.txt
..........\main.cpp
..........\MathOptr.h
..........\output.txt
..........\Stack.h