首页 课程资源 C/C++     /    计算器C++源码(实现+-*\())

计算器C++源码(实现+-*\())

上传者: king4875 | 上传时间:2024/7/6 20:15:19 | 文件大小:1.65MB | 文件类型:rar
计算器C++源码(实现+-*\())
武汉大学国际软件学院编译原理作业C++实现计算器+—*\带括号运算[作业内容和要求]设计和实现一个计算器,实现整数、实数的加减乘除四则运算,要求:1、输入字符串(直接从控制台输入、或采用文件输入),可识别的合法单词(token)为:整数(不以0开头)、实数(不以0开头)、‘+’、‘-’、‘*’、‘/’,‘(’、‘)’,‘=’。
以‘=’作为输入结束符。
2、输出要求:检查中缀表达式表示的加减乘除运算是否符合正常的表达式规则,如果中缀表达式合法,则输出计算结果;
如果不合法,则输出出错提示。

文件下载

资源详情

[{"title":"(37个子文件1.65MB)计算器C++源码(实现+-*\\())","children":[{"title":"新建文件夹","children":[{"title":"Calculator.exe <span style='color:#111;'>84.00KB</span>","children":null,"spread":false},{"title":"Calculator","children":[{"title":"Calculator.sdf <span style='color:#111;'>7.13MB</span>","children":null,"spread":false},{"title":"Calculator.sln <span style='color:#111;'>924B</span>","children":null,"spread":false},{"title":"Calculator","children":[{"title":"Calculator.vcxproj <span style='color:#111;'>3.93KB</span>","children":null,"spread":false},{"title":"Calculator.vcxproj.filters <span style='color:#111;'>948B</span>","children":null,"spread":false},{"title":"Debug","children":[{"title":"link.read.1.tlog <span style='color:#111;'>2.99KB</span>","children":null,"spread":false},{"title":"link.13028.write.1.tlog <span style='color:#111;'>2B</span>","children":null,"spread":false},{"title":"link.12604-rc.read.1.tlog <span style='color:#111;'>2B</span>","children":null,"spread":false},{"title":"link-cvtres.read.1.tlog <span style='color:#111;'>2B</span>","children":null,"spread":false},{"title":"link.command.1.tlog <span style='color:#111;'>1.43KB</span>","children":null,"spread":false},{"title":"vc110.pdb <span style='color:#111;'>340.00KB</span>","children":null,"spread":false},{"title":"link.12604.read.1.tlog <span style='color:#111;'>2B</span>","children":null,"spread":false},{"title":"link.13028-cvtres.write.1.tlog <span style='color:#111;'>2B</span>","children":null,"spread":false},{"title":"ConsoleApplication2.lastbuildstate <span style='color:#111;'>94B</span>","children":null,"spread":false},{"title":"源.obj <span style='color:#111;'>197.68KB</span>","children":null,"spread":false},{"title":"CL.write.1.tlog <span style='color:#111;'>1.13KB</span>","children":null,"spread":false},{"title":"link.12604-cvtres.read.1.tlog <span style='color:#111;'>2B</span>","children":null,"spread":false},{"title":"link.13028-rc.read.1.tlog <span style='color:#111;'>2B</span>","children":null,"spread":false},{"title":"cl.command.1.tlog <span style='color:#111;'>1.51KB</span>","children":null,"spread":false},{"title":"vc110.idb <span style='color:#111;'>331.00KB</span>","children":null,"spread":false},{"title":"link.12604-rc.write.1.tlog <span style='color:#111;'>2B</span>","children":null,"spread":false},{"title":"link-cvtres.write.1.tlog <span style='color:#111;'>2B</span>","children":null,"spread":false},{"title":"link-rc.write.1.tlog <span style='color:#111;'>2B</span>","children":null,"spread":false},{"title":"link.12604.write.1.tlog <span style='color:#111;'>2B</span>","children":null,"spread":false},{"title":"ConsoleApplication2.log <span style='color:#111;'>1.96KB</span>","children":null,"spread":false},{"title":"link.13028.read.1.tlog <span style='color:#111;'>2B</span>","children":null,"spread":false},{"title":"link.13028-rc.write.1.tlog <span style='color:#111;'>2B</span>","children":null,"spread":false},{"title":"link.13028-cvtres.read.1.tlog <span style='color:#111;'>2B</span>","children":null,"spread":false},{"title":"Calculator.obj <span style='color:#111;'>197.71KB</span>","children":null,"spread":false},{"title":"CL.read.1.tlog <span style='color:#111;'>21.80KB</span>","children":null,"spread":false},{"title":"link.write.1.tlog <span style='color:#111;'>762B</span>","children":null,"spread":false},{"title":"link.12604-cvtres.write.1.tlog <span style='color:#111;'>2B</span>","children":null,"spread":false},{"title":"link-rc.read.1.tlog <span style='color:#111;'>2B</span>","children":null,"spread":false}],"spread":false},{"title":"Calculator.cpp <span style='color:#111;'>14.90KB</span>","children":null,"spread":false}],"spread":true},{"title":"Calculator.v11.suo <span style='color:#111;'>24.50KB</span>","children":null,"spread":false}],"spread":true},{"title":"Calculator.cpp <span style='color:#111;'>14.90KB</span>","children":null,"spread":false},{"title":"编译原理运行报告.docx <span style='color:#111;'>124.29KB</span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

  • 剑来xR-Abruptly:
    挺好的资源2017-12-27
  • zl751816957:
    好,很有帮助!2016-03-23
  • 易_:
    资源不错,但和我预期的不一样2016-01-20
  • timeh:
    资源不错,可以运行,比较有用,但不是我想要的。2015-10-29
  • dxd417400206:
    资源很好,谢谢啦2015-09-01

免责申明

【好快吧下载】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【好快吧下载】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【好快吧下载】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,8686821#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明