登录
首页 » c » 从字符串中获取四则表达式并计算

从字符串中获取四则表达式并计算

于 2022-08-23 发布 文件大小:15.53 kB
0 95
下载积分: 2 下载次数: 1

代码说明:

从字符串中计算获取表达式并进行计算。例如输入 9*(3+(6-2)*(3+7))/2 输出193.5

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

发表评论

0 个回复

  • UCGUIdigital
    非常好的UCGUI实例源代码,模拟数字示波器,界面非常美观。有兴趣的下载。(UCGUI a very good example of source code, analog and digital oscilloscopes, the interface is very beautiful. Are interested in downloading.)
    2010-01-05 11:32:40下载
    积分:1
  • LCD12864 MSP430F5529打点程序
    LCD12864 MSP430F5529打点程序 亲测可用#include #define uchar unsigned char #define CS1   P2OUT |= BIT0   //串行LCD宏定义 #define CS0   P2OUT &=~BIT0 #define SID1  P2OUT |= BIT6 #define SID0  P2OUT &=~BIT6 #define SCLK1 P2OUT |= BIT2 #define SCLK0 P2OUT &=~BIT2 #define RST1  P2OUT |= BIT3 #define RST0  P2OUT &=~BIT3 //#define PSB0   P2OUT |= BIT4 //#define PSB1   P2OUT &=~BIT4 //函数声明 void InitSys(); void delay_ms(unsigned int); void display_strings(void); void displaydot(unsigned char x0,unsigned char y0 ); void lcdinit(void); void clrgdram(void); void write_com(unsigned char); void write_data(unsigned char); void sendbyte(unsigned char); uchar ReadByte(void); uchar Read_dos(uchar mode); int  flag=1; unsigned char row1[]={""}; unsig
    2022-04-21 23:44:47下载
    积分:1
  • 四旋翼无人机stm32F4的代码
    此压缩包包含电路原理图,pcb原理图,飞控源代码等等资料一下为主函数代码:#include "led.h" #include "PWM_8CH.h" #include "capture.h" #include "5110.h" #include "ioi2c.h" #include "inv_mpu_dmp_motion_driver.h" #include "inv_mpu.h" #include "timer.h" #include "IIC.h" #include "HMC.h" #include "IMU.h" #include "ms5611.h" #include "gps.h" #include "usart3.h" #include "control.h" #include "24l01.h" //PWM_CH
    2022-11-25 10:05:09下载
    积分:1
  • weizhicharu
    请输序列,输入-1结束,再输入一个数字,输入插入位置,插入其中,按照程序插入后显示出来完成这个程序(Please input sequence, enter-1 end, and then enter a number, enter the insertion position, into which, in accordance with the procedures after the completion of this program insertion displayed)
    2014-11-15 18:52:55下载
    积分:1
  • 一个复数计算器
    一个复数计算器,实现复数的基本运算,用MFC设计的计算器界面,使用方便。
    2022-04-22 01:01:52下载
    积分:1
  • 31-ADC—电压采集
    说明:  STM32F103有关智能车顶层ADC的电压采集(Voltage Acquisition of ADC on Top Layer of Intelligent Vehicle)
    2020-06-15 22:30:01下载
    积分:1
  • migong
    VC实现迷宫问题,用穷举法找出一条路径,用递归形式的算法求得迷宫中所有可能的通路,以方阵形式输出迷宫及其通路. (VC to achieve maze problems,and use brute-force method to find a path,using the recursive form of algorithm to seek all possible paths in the maze in order to form the output matrix and the path maze.)
    2010-03-08 11:27:16下载
    积分:1
  • Cpp1
    1: 由BSQ转为BIL.BIP 2 由BIL转换为BSQ,BIP 3: 由BIP转换为BSQ,BIL.(1: the BSQ to BIL.BIP 2 by the BIL into BSQ, BIP 3: converted by the BIP BSQ, BIL.)
    2011-06-22 15:37:51下载
    积分:1
  • Delphi实效编程百例的随书源代码 这是其中的程序发布部分
    Delphi实效编程百例的随书源代码 这是其中的程序发布部分-Delphi programming effectiveness of the 100 cases with books that the source code is part of the release procedure
    2022-02-04 21:05:35下载
    积分:1
  • oontrol
    MFC编写的虚拟仪器,是一个封装很好的STATIC控件,不错的(MFC written, virtual instrument is a packaged good STATIC control, good)
    2017-07-18 06:48:49下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载