搜索资源列表
BinaryTree
- 基于二叉树实现一元多项式的加法、减法、乘法、除法,并实现算法的优化及对内存的最小使用,将结果存储在原多项式中-Based on a binary tree polynomial addition, subtraction, multiplication, division, and to achieve the optimization algorithm and minimal use of memory, and stores the result in the original polyn
cminus
- 简化C编译器的程序示例,该程序采取了最简单的实现方法,用lex&yacc工具的辅助,实现一个C编译器的框架,省略了中间代码生成部分和代码优化,直接生成汇编代码,实现了while语句、加法运算符等的翻译。-Simplified C compiler program example, the program has taken the simplest implementation, auxiliary lex & yacc tools to implement a C compiler f
add-
- 多位数的加法,c++开发的程序,自己的一次作业,感觉可以-Multi-digit addition, c++ development process, their first job, I can feel
a
- 输入:输入是一个文本文件,里面的内容是符合某个语言语法、词法要求的源代码(输入文件为C++或者Java源程序,词语、语法定义参考C++、Java即可;C++、Java大家只需要选择一种自己熟悉的语言就可以),例如“position = initial + rate * 60 ”; 输出:设计并实现对输入文件的处理(禁用正则表达式),以获得如下输出,输出是一个文本文件,对前面例子,里面内容是: (标识符,position) (赋值运算符,=) (标识符,initial) (加法