⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 test.cpp

📁 不带括号算术式求值另外一个版本 可以自动判断优先级 排除空格等字符影响
💻 CPP
字号:
#include<iostream.h>    
#include<math.h>        
#include<ctype.h>       
#include"lStack.h"
#include"Calculator.h"

int main()
{
	Calculator<double> a;

	int choice=1;
	while(choice==1)
	{
		cout<<"Enter the expression(end with \"=\") :\n";
		a.run();
		cout<<"if u want to continue,enter \"1\": ";
		cin>>choice;
	}

    return 0;
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -