-
PASCAL编译器
项目描述:该项目源代码用C++语言描述,针对扩充的PASCAL文法,实现了对扩充PL0源程序进行词法分析、语法分析、语义分析、代码生成以及最终解释执行的编译器的编写。并完成了错误处理和符号表管理等程序。该工程可以将符合文法的正确程序进行编译得到结果,也可以对错误的程序进行精确报错。
- 2023-03-01 18:25:04下载
- 积分:1
-
用动态规划法实现TSP旅行商问题
资源描述
用动态规划法实现TSP旅行商问题,此算法中我们用C++语言实现。
程序输入一个文本文件,文件中有三列,每一行表示图中的一条信息,例如:
0 1 6 #表示从0节点到1节点需要花费6
1 3 4 #表示从1节点到3节点需要花费4
就这样把有向图的每一条有向边表示出来,按照这样的格式写在一个txt文件中,作为程序输入,然后再输入你从哪个城市出发,程序可以输出一条最佳路径,并算出代价。
- 2022-06-15 23:14:56下载
- 积分:1
-
VB 密钥生成器
这是一个简单的密钥生成器应用程序,可以用来为您的应用程序生成密钥。它使用的组织的名称来生成密钥。
- 2022-07-01 07:52:50下载
- 积分:1
-
利用自动机上加语义动作实现对所有常数的正确处理以及显示其结果。...
利用自动机上加语义动作实现对所有常数的正确处理以及显示其结果。-The use of automatic machines plus semantic actions to achieve the proper handling of all constants and display the results.
- 2022-01-28 03:16:49下载
- 积分:1
-
plane eight
平面8节点单元类,可以输出单元的刚度、质量、阻尼矩阵,并可通过形函数插值得到内部各点得位移、应力等。对各位以前编写的程序的一个补充和完善吧。-plane eight-unit category, the output unit stiffness, mass, damping matrix, through the shape function can be interpolation points in the internal displacement and stress. Right before you and the procedure for the preparation of a supplement and perfect it.
- 2023-02-03 03:45:04下载
- 积分:1
-
此程序计算代数公式。
This program evaluates algebraic formulas.
- 2022-03-22 06:26:29下载
- 积分:1
-
FDTD algorithm.
FDTD algorithm.
- 2022-06-13 22:48:24下载
- 积分:1
-
Two strings to find the longest common sub
找出两个字符串的最长公共子串。
给出一个字符串,请删除该字符串的前导空格和尾随空格,中间的空格若多余1个删减到1个。
我是个菜鸟,但软件会是我终生的事业~我有信心学好它,希望站长通融-Two strings to find the longest common sub-string. Given a string, remove the string leading spaces and trailing spaces, if the extra spaces in the middle of a cut to one. I was a rookie, but the software will be my lifelong career ~ and I am confident to learn it, and hope that owners accommodation
- 2023-05-01 09:20:03下载
- 积分:1
-
迷你撞球游戏
资源描述迷你撞球游戏,用C语言编写的,建议在TC环境下编译
- 2022-05-21 17:28:00下载
- 积分:1
-
这是一个小程序,用于二部匹配
This is a small program for bipartite matching-This is a small program for bipartite matching...
- 2022-09-18 09:35:03下载
- 积分:1