登录
首页 » 算法 » 本程序是用纯C语言编的一个基于命令行的四则运算计算器。主要用于计算四则运算表达式的值,同时可以实现四种进制任意两种之间的转换。 主要功能:1.四则运算:能够解释...

本程序是用纯C语言编的一个基于命令行的四则运算计算器。主要用于计算四则运算表达式的值,同时可以实现四种进制任意两种之间的转换。 主要功能:1.四则运算:能够解释...

于 2022-02-13 发布 文件大小:8.55 kB
0 162
下载积分: 2 下载次数: 1

代码说明:

本程序是用纯C语言编的一个基于命令行的四则运算计算器。主要用于计算四则运算表达式的值,同时可以实现四种进制任意两种之间的转换。 主要功能:1.四则运算:能够解释并执行四则运算表达式。四则运算就是包含+、―、*、/、.(小数点)和数字的运算表达式,例如:3+2.9*(5-6/3) -4+(+8*6)等; 2.错误警告:能够对不符合语法的表达式给出相应的错误警告,本程序共给出了8大类警告 3.进制转换:能够做二进制、八进制、十进制、十六进制中任意两种进制之间的互相转换 4.帮助系统:提供完善的帮助系统 5.出错保护:有良好的出错保护系统,命令行输入错误,程序仍能正常运行。-this program is pure C-language series based on a command line of four Operational calculator. Mainly used in the calculation of four computing the value of the expression, and can achieve four band arbitrary conversion between the two. The main functions : 1. Four computing : the ability to interpret and apply the four Operational expression. Four operations is included ,-,*,/,.( decimal point) and digital arithmetic expressions, for example : 2.9* 3 (5-6/3)-4 (8* 6); 2. Wrong warning : to be able to not grammar of expressions is the corresponding error warnings, the procedure is a total of eight major categories of warning 3. Decimal Conversions : can do binary, octal, decimal, hexadecimal arbitrary b

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

发表评论

0 个回复

  • 哲学家就餐问题算法实现
    哲学家就餐问题算法实现-Algorithm dining philosophers problem
    2022-02-27 08:28:25下载
    积分:1
  • VB生成三角网
    VB源代码生成的三角网,即狄罗尼三角网。可以通过点击程序界面自动生成一系列的不规则三角网
    2022-12-06 21:55:03下载
    积分:1
  • 基于信号强度的垂直切换
    本代码是主基础基于信号强度的垂直切换算法的一个仿真代码。其中考虑到影响信号强度的有大尺度衰落和小尺度衰落。本代码给出了一个简单的模型。代码如下:
    2022-11-03 14:15:03下载
    积分:1
  • 旅行商问题,即TSP问题(Travelling Salesman Problem)是数学领域中著名问题之一。假设有一个旅行商人要拜访n个城市,他必须选择所要走的...
    旅行商问题,即TSP问题(Travelling Salesman Problem)是数学领域中著名问题之一。假设有一个旅行商人要拜访n个城市,他必须选择所要走的路径,路经的限制是每个城市只能拜访一次,而且最后要回到原来出发的城市。路径的选择目标是要求得的路径路程为所有路径之中的最小值。 -Traveling Salesman Problem, or TSP problem (Travelling Salesman Problem) is a well-known field of mathematics problems. Assuming there is a travel business to visit n cities, he must choose which path to go, via the restriction is to visit each city only once and the last to go back to the original departure city. Path selection objective is to get the path distance for all paths are the minimum.
    2022-06-21 21:53:25下载
    积分:1
  • 用二叉树算法实现的排序
    用二叉树算法实现的排序-binary tree algorithm for ranking
    2022-02-25 14:51:25下载
    积分:1
  • 条件平差计算
    本人写的一个条件平差计算器,供学习参考,用vb编写的,实现矩阵数据较多的平差,面向测绘方向学习。这是本人的第一个有点用的软件,希望能帮到你的忙。
    2022-03-07 05:46:00下载
    积分:1
  • algorint CMIG
    应用背景这儿子funciones帕伊Desarrollo EN CImg EN C de la本草prosesamiento德日图片de芬奇UNL,这里在待办事项洛杉矶algoritmos desarrollados关键技术关键技术 ;已彻底改变了世界各地的食品加工过程和检查,将他们的产品。我们的创新技术帮助
    2022-01-27 14:05:12下载
    积分:1
  • 独立钻石棋问题描述: 有一棋盘, 上有44个钻石棋子,有一位置空缺, 棋盘初始状态如下:    111    111    111 111111111 1111...
    独立钻石棋问题描述: 有一棋盘, 上有44个钻石棋子,有一位置空缺, 棋盘初始状态如下:    111    111    111 111111111 111101111 111111111    111    111    111 其中,0表示没有放置棋子, 1表示放置。 规定走法如下: a. 任一棋子可越过一相邻棋子(紧相邻)跳到一空缺位置, 并吃掉越过的棋子(从棋盘移处) 如, 走一步后棋盘状态:    111    111    111 111111111 111110011 111111111    111    111    111 b. 最后只留下一个棋子在棋盘上, 并且位置在正中央。 要求: 用程序得出正确走法。 输入: 无 输出: 每一步移动后的棋盘状态, 格式如上。-independent diamond chess Problem description : a chessboard, there are 44 pieces of diamonds, a position vacant chessboard initial state as follows : 111111111 111101111 111111111 which, 0 no place pawn, a place said. Provisions in law are as follows : a. as a pawn to be crossed an adjacent piece (bear adjacent) jumped to a vacant position, and eaten across the pawn (shift from the chessboard) If, after the chessboard go one step further state : 111111111 111111111 111110011 111111111 111111111 b. leaving only a game son on the chessboard, and in the middle position. Requirements : getting the correct procedures in law. Input : None output : e
    2023-01-15 08:55:03下载
    积分:1
  • MATLAB 有约束信赖域算法,以四元多项式为算例 适用于学习最优化算法的数学专业学生以及其他数值分析课程的同学, 程序清晰,对MATLAB的学习也有很...
    MATLAB 有约束信赖域算法,以四元多项式为算例 适用于学习最优化算法的数学专业学生以及其他数值分析课程的同学, 程序清晰,对MATLAB的学习也有很大的帮助,同时程序还有一些不足,读者自己须根据实际问题更正。-MATLAB constrained trust region algorithm to quaternion polynomial example for the application of optimization algorithms in the learning of mathematics students, as well as other courses in numerical analysis of the students, the program clearly and learning to MATLAB is also a great help, but the procedure also There are a number of shortcomings, the reader himself to be corrected in accordance with the actual problem.
    2022-07-07 21:05:54下载
    积分:1
  • 循环码及其纠错能力研究
    资源描述循环码是一种很重要的线性分组码,是目前研究得最成熟 的一类码之一。它除了具有线性分组码的线性外,还具有循环 性,其码字结构一般用符号[n,k]表示,其中n 是该码组中的码 元数,k 是信息码元位数,r(r=n-k)是监督码元位数。循环码具 有较强的检错和纠错的能力,用于通信系统时可极大地提高了 通信的可靠性。
    2022-02-25 11:55:45下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载