登录
首页 » Windows开发 » 使用 C编写计算器

使用 C编写计算器

于 2022-09-10 发布 文件大小:49.07 kB
0 205
下载积分: 2 下载次数: 1

代码说明:

(堆栈)鉴于算术表达式中缀表示法,例如,24 (3 + 5) = 5, 写一个程序,它读取一个单一输入行中给出的表达式,解析它,它的计算结果和 给出了输出值作为单个整数或打印的字符串输入错误"如果输入的格式不正确。 在表达式中的数字是整数。经营者来自集 {+,-,*,/,%、 (,)}, 经营行为对整数,返回整数,根据其平时 de nitions。我有假设 运营商,那就是,之间通常优先从最低到最高,{+,-},*,/,一元-和括号,在哪里, + 和二进制-处于同一级别的优先级的和有左到右结合性。我 程序正确识别并返回一个错误如果修复表达式中的输入的格式不正确。

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • this is a airline system
    this is a airline system
    2022-01-30 11:04:39下载
    积分:1
  • DREAMWEAR相关数据库编程,包括图片
    DREAMWEAR相关数据库编程,包括图片-DREAMWEAR relational database programming, including pictures, etc.
    2022-02-26 08:11:25下载
    积分:1
  • 可以解码播放AAC音频和H264视频,在windowsVC6.0++环境下运行
    可以解码播放AAC音频和H264视频,在windowsVC6.0++环境下运行-Players can decode AAC audio and H264 video, in windowsVC6.0++ Environment running under
    2022-04-23 06:10:30下载
    积分:1
  • 读写SHP格式的源代码 很详细 下下来就能用
    读写SHP格式的源代码 很详细 下下来就能用-SHP format to read and write in great detail the source code can be used down under
    2022-12-18 04:20:03下载
    积分:1
  • 简易记事本
    简要说明:     此软件为单窗口的简易记事本 Tnotepad.1.02.1 - 新增: -------------------------------   1.自动保存上次窗体大小
    2022-06-28 00:17:47下载
    积分:1
  • c++ Builder中的异常处理
    c++ Builder中的异常处理-Exceptions
    2022-03-05 10:20:38下载
    积分:1
  • 一个VSP的示例代码
    vsp的一个示例代码
    2022-12-01 13:30:03下载
    积分:1
  • I testing procedures, a little bit, please guidance
    我的测试程序,有点问题,请大家指点-I testing procedures, a little bit, please guidance
    2023-01-25 09:40:03下载
    积分:1
  • flex 实现的拍照程序 含flash原码
    flex 实现的拍照程序 含flash原码-use flash to take photo software
    2023-04-08 02:00:08下载
    积分:1
  • 使用子
    使用子像素的方法来减轻图像系统的负荷已经是目前主流3D程序中的必用方法。比如知道Sin函数的特性,就只需要计算0~pi/2的点就可以了,剩下的pi/2~pi可以通过子像素来画出,在图形量大的情况下可以减轻至少一半的系统压力。 这个程序不光可以加速Sin函数的显示,还可以加速所有函数的显示。 -The use of sub-pixel image of the ways to reduce the load on the system is already the existing procedures of the mainstream 3D methods will be used. For example, to know the characteristics of Sin function, we only need to calculate 0 ~ pi/2 could be the point, and the rest of pi/2 ~ pi can be sub-pixels to draw, in the graphic case of a large quantity can be reduced at least half of the system pressure. This process not only speed up the Sin function can be shown that all functions can also speed up the display.
    2022-05-25 18:34:59下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载