c/c++ 四则运算实现

上传者: hw19930014 | 上传时间: 2021-04-16 22:07:49 | 文件大小: 797KB | 文件类型: RAR
用C语言实现四则运算,包括加减乘除以及括号,输入一个正确的算术表达式可正确输出结果,具体的实现思路是将算术表达式按序输入一个栈中,然后根据括号的位置以及左右半括号属性来判断运算顺序

文件下载

资源详情

[{"title":"( 26 个子文件 797KB ) c/c++ 四则运算实现","children":[{"title":"Calculator","children":[{"title":"Debug","children":[{"title":"Calculator.pdb <span style='color:#111;'> 347.00KB </span>","children":null,"spread":false},{"title":"Calculator.ilk <span style='color:#111;'> 314.82KB </span>","children":null,"spread":false},{"title":"Calculator.exe <span style='color:#111;'> 32.00KB </span>","children":null,"spread":false}],"spread":true},{"title":"ipch","children":[{"title":"calculator-58ad48dd","children":[{"title":"calculator-3b1bb36.ipch <span style='color:#111;'> 2.38MB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"Calculator.sln <span style='color:#111;'> 897B </span>","children":null,"spread":false},{"title":"Calculator","children":[{"title":"calculator.c <span style='color:#111;'> 5.36KB </span>","children":null,"spread":false},{"title":"Debug","children":[{"title":"cl.command.1.tlog <span style='color:#111;'> 1.15KB </span>","children":null,"spread":false},{"title":"CL.read.1.tlog <span style='color:#111;'> 2.49KB </span>","children":null,"spread":false},{"title":"vc100.idb <span style='color:#111;'> 35.00KB </span>","children":null,"spread":false},{"title":"mt.read.1.tlog <span style='color:#111;'> 758B </span>","children":null,"spread":false},{"title":"link.read.1.tlog <span style='color:#111;'> 2.19KB </span>","children":null,"spread":false},{"title":"Calculator.exe.intermediate.manifest <span style='color:#111;'> 381B </span>","children":null,"spread":false},{"title":"link.write.1.tlog <span style='color:#111;'> 662B </span>","children":null,"spread":false},{"title":"CL.write.1.tlog <span style='color:#111;'> 630B </span>","children":null,"spread":false},{"title":"Calculator.log <span style='color:#111;'> 833B </span>","children":null,"spread":false},{"title":"vc100.pdb <span style='color:#111;'> 52.00KB </span>","children":null,"spread":false},{"title":"calculator.obj <span style='color:#111;'> 20.01KB </span>","children":null,"spread":false},{"title":"link.command.1.tlog <span style='color:#111;'> 1.22KB </span>","children":null,"spread":false},{"title":"Calculator.lastbuildstate <span style='color:#111;'> 62B </span>","children":null,"spread":false},{"title":"mt.write.1.tlog <span style='color:#111;'> 298B </span>","children":null,"spread":false},{"title":"mt.command.1.tlog <span style='color:#111;'> 480B </span>","children":null,"spread":false}],"spread":false},{"title":"Calculator.vcxproj <span style='color:#111;'> 3.15KB </span>","children":null,"spread":false},{"title":"Calculator.vcxproj.filters <span style='color:#111;'> 946B </span>","children":null,"spread":false},{"title":"Calculator.vcxproj.user <span style='color:#111;'> 143B </span>","children":null,"spread":false}],"spread":true},{"title":"Calculator.suo <span style='color:#111;'> 11.00KB </span>","children":null,"spread":false},{"title":"Calculator.sdf <span style='color:#111;'> 2.08MB </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

  • vkfpsy :
    嗯,不错。很好用。可以修改一下用来计算复数的四则运算。。。
    2013-10-20
  • cannever :
    还好,但要是能计算复数就好了~~~~~
    2012-12-28

免责申明

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