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

词法分析与语法分析

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

代码说明:

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

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

发表评论

0 个回复

  • 工程活动图AOE网的应用演示
    本软件围绕工程活动图AOE网的应用这一主题,用图形化的界面实现了AOE网的建立、判断工程可行性、计算工程活动开始时间、确定关键路径和关键活动等功能。 具体功能: 已知假想的工程活动图AOE网,试设计一个算法,要求: (1) 判断工程是否可行 (2) 求出工程中每个活动的最早开始时间e(i),最迟开始时间l(i)和全工程可以完成的最早时间 (3) 确定工程中关键路径和可使整个活动的工期缩短的关键活动 源码在文件夹“源代码清单”中。程序开发时所用的文件在文件夹“配套文件”中提供。另附说明文档。
    2022-04-26 17:55:50下载
    积分:1
  • 情感词集
    www.keenage.com,知网情感词汇集合,用于实现基于词典的情感识别算法。很全面的一个词语知识系统,推荐使用。
    2022-01-27 20:21:05下载
    积分:1
  • 用fortran语言编写的程序,这样可以在fortran系统中直接运行,为大家提供点方便。...
    用fortran语言编写的程序,这样可以在fortran系统中直接运行,为大家提供点方便。-using FORTRAN language of the procedure so in FORTRAN operating system directly, to provide a convenient point.
    2022-02-11 11:45:24下载
    积分:1
  • Nonlinear Schr枚dinger equation source code nonlinear Schr枚dinger equation Nonlin...
    2022-02-11 21:52:14下载
    积分:1
  • LFM信号FRFT变换分析
    线性调频信号(Linear Frequency Modulated,LFM)作为一种典型的非平稳信号而且具有大的时间-频带积,被广泛用于各种信息系统。从电子战和电子干扰的角度看,为解决作用距离和距离分辨率的矛盾以及提高信号的隐蔽性,通常采用LFM信号,对于线性调频信号的检测和参数估计,成为电子战研究的重点matlab计算分数阶傅立叶变换运用分数阶傅里叶变换frft对线性调频信号lfm参数进行估计,结果很准确例程完整,有运行结果。
    2022-03-07 19:35:38下载
    积分:1
  • The Kalman filter30 is a minimum
    The Kalman filter30 is a minimum-variance filter in which time-series measurements are incorporated recursively into estimates of state variables it is the optimal, Bayesian least-squares estimator for linear dynamic systems.-The Kalman filter30 is a minimum-variance filter in which time-series measurements are incorporated recursively into estimates of state variables it is the optimal, Bayesian least-squares estimator for linear dynamic systems.
    2023-04-25 23:25:03下载
    积分:1
  • 打印条形码示例
    资源描述 Code128 Code39 两种编码规则的条形码,数字变成条形码的转换方法。 // TODO: Add your control notification handler code here CDC dc; int CodeName,printQuality; LPSTR partial=NULL,text; CCode39 code39; CCode128 code128; UpdateData(TRUE); text=m_CodeText.GetBuffer (50); //获取编码方式 CodeName=m_CodeName.GetCurSel(); if(CodeName==CB_ERR) { MessageBox("请选择编码方式"); return; } switch(CodeName) { case 0: CodeType=CODE39; break; case 1: CodeType=CODE128A; break; case 2: CodeType=CODE128B; break; case 3: CodeType=CODE128C; break; } //获取打印机设备环境 if(!(printDlg.DoModal())) { MessageBox("打印错误。"); return ; }
    2022-03-22 14:26:04下载
    积分:1
  • massive mimo Fundamentals, Opportunities and Challenges
    应用背景Massive multiuser MIMO (MISO): ◮ M ≫ K ≫ 1 (think 100 × 10 or 500 × 50) ◮ coherent, but simple, processing ◮ Potential to dramatically improve rate & reliability ◮ Potential to drastically scale down TX power ◮ Not only theory, at least one known testbed (64× ∼10) 关键技术 Massive MIMO Operation Not enough resources for pilots & CSI feedback, so operate in TDD. ◮ On the uplink, ◮ acquire CSI from uplink pilots and/or blindly from data ◮ detect symbols ◮ M ≫ K ⇒ linear processing (MRC, ZF, MMSE) nearly optimal ◮ On the downlink, ◮ use CSI obtained on the uplink ◮ make necessary adjustments based on reciprocity calibration ◮ apply multiuser MIMO precoding ◮ simple precoders desirable (and very good!): MRT, ZF, MMSE, ... ◮ MRC/MRT operation ◮ intracell interference will appear as
    2022-07-07 16:58:08下载
    积分:1
  • Use of sub
    用对分法求非线性方程f(x)=0的实根.基本思想:逐步缩小这个有根的区间,当这个区间长度减小到一定程度是,就取这个区间的中点作为根的近似值-Use of sub-method of nonlinear equation f (x) = 0 the real roots. The basic idea: to gradually narrow the range of this well-established, when the interval length decreases to a certain extent, we take the midpoint of this range as the root approximation
    2022-08-08 04:02:19下载
    积分:1
  • 用在语音芯片上的一个,实现ADPCM编码的压缩程序,对语音编解码有帮助!...
    用在语音芯片上的一个,实现ADPCM编码的压缩程序,对语音编解码有帮助!-with the voice of a chip to achieve ADPCM compression coding procedures, the voice codecs help!
    2022-07-19 11:19:39下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载