rina8475 / calculatorusec- Goto Github PK
View Code? Open in Web Editor NEWImplement a calculator by c++
Implement a calculator by c++
***************************** calculator 程序 README 文件 ***************************** Author: Rina Date: 2022/11/23 此文件包括对项目文件结构的说明和项目编译的说明 P.S. 此项目的文件目录下未包括测试文件 ************ 0. 文件结构 ************ buildin.cpp - 实现 buildin 函数 tokens.cpp - 实现词法分析 将输入的字符串流转换为 token 流 parse.cpp - 实现语法分析 将输入的 token 流转换为语法树 table.cpp - 实现 Symbol table calculate.cpp - 实现函数类 并对接收到的语法树进行计算并打印 ************ 1. 文件编译 ************ 如果你的计算机上有 make 程序,直接在当前目录下执行 make 命令即可 PS > make 如果没有 make 程序,则执行下面的命令 PS > g++ -Og -Wall -o calculator buildin.cpp calculate.cpp parse.cpp table.cpp tokens.cpp 上面的命令生成可执行文件 calculator.exe,输入下面的命令执行程序 PS > ./calculator.exe
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.