首页 开发技术 C++     /    c++字符串表达式求值

c++字符串表达式求值

上传者: saber_acher | 上传时间:2017/10/4 23:40:20 | 文件大小:2.14MB | 文件类型:RAR
c++字符串表达式求值
这是一个运行于vs2015的项目,代码也就200+行,实现的功能有基础的四则运算以及math里面cos,sin,pow函数的,有这几个函数为样本添加其他函数也很简单,代码实现简单,中缀转后缀,只用了一个栈,附加提示,若是使用函数,一定要加括号,如pow(1+2,sin(3+4))这样的可行。

文件下载

资源详情

[{"title":"(24个子文件2.14MB)c++字符串表达式求值","children":[{"title":"Project1","children":[{"title":"Debug","children":[{"title":"Project1.ilk <span style='color:#111;'>669.71KB</span>","children":null,"spread":false},{"title":"Project1.pdb <span style='color:#111;'>1.08MB</span>","children":null,"spread":false},{"title":"Project1.exe <span style='color:#111;'>115.50KB</span>","children":null,"spread":false}],"spread":true},{"title":"Project1.sln <span style='color:#111;'>1.28KB</span>","children":null,"spread":false},{"title":".vs","children":[{"title":"Project1","children":[{"title":"v14","children":[{"title":".suo <span style='color:#111;'>35.00KB</span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"Project1","children":[{"title":"Project1.vcxproj.filters <span style='color:#111;'>1.12KB</span>","children":null,"spread":false},{"title":"Debug","children":[{"title":"vc140.pdb <span style='color:#111;'>460.00KB</span>","children":null,"spread":false},{"title":"vc140.idb <span style='color:#111;'>475.00KB</span>","children":null,"spread":false},{"title":"cal.obj <span style='color:#111;'>338.41KB</span>","children":null,"spread":false},{"title":"Project1.log <span style='color:#111;'>716B</span>","children":null,"spread":false},{"title":"Project1.Build.CppClean.log <span style='color:#111;'>1.06KB</span>","children":null,"spread":false},{"title":"源.obj <span style='color:#111;'>162.31KB</span>","children":null,"spread":false},{"title":"Project1.tlog","children":[{"title":"CL.read.1.tlog <span style='color:#111;'>26.44KB</span>","children":null,"spread":false},{"title":"link.read.1.tlog <span style='color:#111;'>3.44KB</span>","children":null,"spread":false},{"title":"link.write.1.tlog <span style='color:#111;'>834B</span>","children":null,"spread":false},{"title":"CL.write.1.tlog <span style='color:#111;'>1.98KB</span>","children":null,"spread":false},{"title":"Project1.lastbuildstate <span style='color:#111;'>228B</span>","children":null,"spread":false},{"title":"link.command.1.tlog <span style='color:#111;'>1.49KB</span>","children":null,"spread":false},{"title":"CL.command.1.tlog <span style='color:#111;'>1.29KB</span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"Project1.vcxproj <span style='color:#111;'>5.67KB</span>","children":null,"spread":false},{"title":"cal.cpp <span style='color:#111;'>3.36KB</span>","children":null,"spread":false},{"title":"cal.h <span style='color:#111;'>434B</span>","children":null,"spread":false},{"title":"源.cpp <span style='color:#111;'>192B</span>","children":null,"spread":false}],"spread":true},{"title":"Project1.VC.db <span style='color:#111;'>8.08MB</span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

  • m_huahua:
    可以的,有一点借鉴意义2019-07-25
  • 寞寞足下:
    还可以,能使用2019-05-23

免责申明

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