登录
首页 » 算法 » 词法分析与语法分析

词法分析与语法分析

于 2022-05-17 发布 文件大小:89.13 kB
0 182
下载积分: 2 下载次数: 1

代码说明:

循环一次读取一行   对每一行:    开始出现‘ ’,‘ "," "           继续读取下一位   对每一行:当没出现 时    出现{,           则依次判定后面的字符,           若出现 ,输出这一行,再读下一行,依次判定后面的字符。           若出现},输出这一行,循环结束。     出现字母,temp+=继续读取下一位           若为字母,te

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

发表评论

0 个回复

  • 单个文件在以下链接是可用的:
    Individual files are available in the following links: Bessjy -- Bessel functions Jn and Yn for real argument and integer or real order. Bessik -- Modified Bessel function In and Kn for real argument and integer or real order. CBessjy -- Bessel functions Jv and Yv for real or complex arguments and real order. CBessik -- Modified Bessel functions Iv and Kv for complex arguments and real order. -Individual files are available in the following links: Bessjy- Bessel functions Jn and Yn for real argument and integer or real order. Bessik- Modified Bessel function In and Kn for real argument and integer or real order. CBessjy- Bessel functions Jv and Yv for real or complex arguments and real order. CBessik- Modified Bessel functions Iv and Kv for complex arguments and real order.
    2022-04-29 03:27:40下载
    积分:1
  • computing in matrixs,It Includes the plus and multiply and so on,It can realize...
    矩阵计算,包括了矩阵的加减乘除,还可以实现对角化,对一次解方程组非常有帮助-computing in matrixs,It Includes the plus and multiply and so on,It can realize the diagonalize,that will be very helpfull for one result equation
    2022-03-18 13:45:57下载
    积分:1
  • 51单片机仿三菱通信协议与工业人机界面通信
    51单片机仿三菱通信协议与工业人机界面通信.通信参数:端口RS232,波特率9600,偶校验,停止位1位
    2022-02-25 00:36:13下载
    积分:1
  • performance simulation of network_coding
    应用背景In generated networks, selecting one node as source and some nodes as receivers in random (single source multicast network), we make performance test for network coding based multicast route algorithm (we put forward it ourselves, corresponding to high multicast rate and low multicast rate), shortest path distribution tree route algorithm (DIJKSTRA algorithm) and Maximum-rate distribution tree route algorithm (PRIM algorithm), respectively. 关键技术 In this program, two things have been done: (1) generate random topologies (2)performance test。   network coding cap:     5.0000  dijk cap:     5.0000  prim cap:     5.0000  network coding res1:     0.0000--res2:    12.0000  dijk res:    14.0000  prim res:    14.0000  average degree:     2.
    2022-11-16 07:10:03下载
    积分:1
  • 无网格EFGM的matlab源代码
    EFG是无网格算法里面的代表性算法,1994年由Ted提出,此程序为matlab写的EFG的程序,一个平面2D的问题,无网格学习的可以好好看一下
    2023-04-25 13:05:04下载
    积分:1
  • IPMonitor监视IP
    监视IP流量与IP数据包统计数据,列出IP流量的详细信息比如原IP地址与目的IP地址、协议类型、传入或传出IP数据包统计数据
    2022-07-03 10:00:27下载
    积分:1
  • 这个矩阵C++模板类图书馆是执行常见的矩阵运
    This matrix C++ template class library is for performing common matrix operations in your C++ program like any other built-in data types. To install the package, just copy MATRIX.H file into the INCLUDE directory of your compiler and include this header file in your program source file
    2022-06-03 16:33:22下载
    积分:1
  • 显示图像
    基于opencv ,我们可以读取各种图像文件,视频文件,还可以读取摄像头。这些功能是opencv开发包中HighGUI工具集的一部分。下面,我们就使用其中的一些功能来实现如何显示一副图像。 OpenCV的接口包括C++,C,Python的 我用MinGW编译OpenCV2.1 和 OpenCV2.2 从未成功过 前几日发现 OpenCV 2.3发布,下载了自解压程序,解压后又visual studio 2008,2010和MinGW版的 但其中的MinGW版的是官方 MinGW的,我使用的是在 http://nuwen.net/mingw.html 下载的 编译程序连接时总出错,于是下载了源码包,编译后能正常使用 先来看看最简单的图像的载入与显示,使用C++接口
    2022-06-18 05:42:47下载
    积分:1
  • 赋权边覆盖问题——采用禁忌搜索的C++实现
    本文详细讨论了禁忌搜索算法求解赋权边覆盖问题的定义、原理及求解思路,在文末给出了实验结果及完整的C++实现代码。
    2022-07-17 14:42:20下载
    积分:1
  • MD5加密源码
    VC实现的MD5加密算法源码,包括完整的VC代码,可用VC6打开,编译调试,还包括测试数据和测试用例,可直接拿来使用,有很高的利用价值。也是从其他地方下载的,忘记是哪里下载的了。
    2022-03-29 07:59:59下载
    积分:1
  • 696516资源总数
  • 106409会员总数
  • 8今日下载