登录
首页 » 算法 » C++源代码单词扫描程序(词法分析)

C++源代码单词扫描程序(词法分析)

于 2022-08-06 发布 文件大小:469.12 kB
0 146
下载积分: 2 下载次数: 1

代码说明:

功能:(1)C++源代码扫描程序识别C++记号。     C++语言包含了几种类型的记号:标识符,关键字,数(包括整数、浮点数),字符串、注释、特殊符号(分界符)和运算符号等。(2)打开一个C++源文件,打印出所有以上的记号。(3)要求应用程序应为Windows界面。(4)选作部分:为了提高C++源程序的可读性,C++程序在书写过程中加入了空行、空格、缩进、注释等。假设你想牺牲可读性,以节省磁盘空间,那么你可以存贮一个删除了所有不必要空格和注释的C++源程序的压缩文本。因此,程序中还应该有这样的压缩功能。(5)选作部分:进一步思考或实现——如何进一步实现减小源文件大小的压缩功能。(6)应该书写完善的软件文档,最好使用Rational Rose来完成部分框图。

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

发表评论

0 个回复

  • Mathematical Modeling of experiences, the preparation team and have team members...
    数学建模的经验之谈,对准备参赛及已经参赛的队员有一定的指导意义。对参加工作的科研人员也有一定借鉴作用。-Mathematical Modeling of experiences, the preparation team and have team members have a certain significance. For participating in the work of researchers also have some reference.
    2022-12-17 13:20:03下载
    积分:1
  • 模糊PID控制器
    模糊PID算法,实现了求交法计算模糊蕴含关系、最大最小法进行合成运算、求并法计算输出量的模糊集合、加权平均法计算实际的清晰控制量等部分的详细代码。模糊算法,实现了求交法计算模糊蕴含关系、最大最小法进行合成运算、求并法计算输出量的模糊集合、加权平均法计算实际的清晰控制量等部分的详细代码。-Fuzzy algorithm,
    2022-03-26 05:16:34下载
    积分:1
  • 图像的分割
    利用IDL语言实现图像的分割算法。本算法利用IDL语言对一幅影像进行处理,首先设定所分类别的数目k,然后进行分割过程。
    2022-06-28 08:35:28下载
    积分:1
  • 求sinx 用级数展开的式子 可以通过输入n确定所求精度
    求sinx 用级数展开的式子 可以通过输入n确定所求精度-Sinx series expansion for the formula used by the importation of n order to determine the accuracy of
    2022-02-01 10:01:35下载
    积分:1
  • 本例子演示了如何利用f90接口来读取已经创建的3维变量,并检查读写正确与否...
    本例子演示了如何利用f90接口来读取已经创建的3维变量,并检查读写正确与否 -This example shows how to use the f90 interface to read the already created three-dimensional variable, and check whether or not to read and write properly
    2022-07-26 12:14:16下载
    积分:1
  • 该程序是用C语言写的采用了动量方的BP神经网络,它具有极其强大的扩展性,可用于函数的逼近及分类识别等各方面,语言书写规范,其中大量使用了动态分配一、二维数组的...
    该程序是用C语言写的采用了动量方法的BP神经网络,它具有极其强大的扩展性,可用于函数的逼近及分类识别等各方面,语言书写规范,其中大量使用了动态分配一、二维数组的方法,该网络实例中实现的是对某一函数的逼近,输入层为二层,中间层可自己设定多达十几层,逼近精度非常精确。读者可根据自己的需要设定各层的数目以及相应的训练样本进行训练与测试。-The program is written in C language using the momentum method of BP neural network, which has extremely powerful scalability, can be used for function approximation and classification in areas such as language specification, including large-scale use of a dynamically allocated one, two dimensional array of methods, examples of the network realize that the approximation of a function, for the second input layer, middle layer can be set as many as a dozen layers, close to very precise accuracy. Readers may need to be set in accordance with its own number of floors and the corresponding training samples for training and testing.
    2022-09-23 15:35:02下载
    积分:1
  • 这里面有很多有用的东东,不过很容易看懂的。
    这里面有很多有用的东东,不过很容易看懂的。-There were many useful Eastern, but the very easy to read and understand.
    2023-06-28 08:05:03下载
    积分:1
  • 线性判别的代码以及讲解
    这是一个线性判别算法的matlab 代码,里面有详细讲解的pdf文件,并且程序有具体实例的运行结果,很好理解哦
    2022-02-04 14:34:58下载
    积分:1
  • 小波变换所有常见例程,vc++下调试通过。适合科研人员和工程应用人员...
    小波变换所有常见例程,vc++下调试通过。适合科研人员和工程应用人员-Wavelet transform of all common routines, vc++ Adopted under the debugger. Suitable for the application of scientific research personnel and engineering staff
    2023-06-09 04:30:03下载
    积分:1
  • Numerical Anaysis 8th Edition, by Burden and Faires (Pascal Source)
    Numerical Anaysis 8th Edition, by Burden and Faires (Pascal Source)
    2022-02-12 01:32:05下载
    积分:1
  • 696516资源总数
  • 106450会员总数
  • 5今日下载