文件名称:Compiler

  • 所属分类:
  • 编译器/词法分析
  • 资源属性:
  • [C/C++] [Java] [源码]
  • 上传时间:
  • 2012-11-26
  • 文件大小:
  • 573kb
  • 下载次数:
  • 0次
  • 提 供 者:
  • 陈**
  • 相关连接:
  • 下载说明:
  • 别用迅雷下载,失败请重下,重下不扣分!

介绍说明--下载内容均来自于网络,请自行研究使用

(1)C++源代码扫描程序识别C++记号。 C++语言包含了几种类型的记号:标识符,关键字,数(包括整数、浮点数),字符串、注释、特殊符号(分界符)和运算符号等。

(2)打开一个C++源文件,打印出所有以上的记号。

(3)要求应用程序应为Windows界面。

(4)选作部分:为了提高C++源程序的可读性,C++程序在书写过程中加入了空行、空格、缩进、注释等。假设你想牺牲可读性,以节省磁盘空间,那么你可以存贮一个删除了所有不必要空格和注释的C++源程序的压缩文本。因此,程序中还应该有这样的压缩功能。

(5)选作部分:进一步思考或实现——如何进一步实现减小源文件大小的压缩功能。

(6)应该书写完善的软件文档。

-(1) C++ source code C++ scanner identification marks. C++ language contains several types of tokens: identifiers, keywords, numbers (including integer, floating point), strings, notes, special symbols (delimiters) and the operator symbols.

(2) to open a C++ source file, print out all of the above marks.

(3) require the application should be Windows interface.

(4) selected as part: In order to improve the readability of C++ source code, C++ program in the writing process to join the blank lines, spaces, indentation, comments, and so on. Suppose you want to sacrifice readability to save disk space, you can store a remove all unnecessary spaces and comments in the C++ source code of the compressed text. Therefore, the program should have such a compression.

(5) selected as part of: Further Thoughts on or realized- how to further reduce the source file size to achieve compression.

(6) should be well-written software documentation
(系统自动生成,下载前可以参看下载内容)

下载文件列表

陈新杰(20072102321)\C++源代码单词扫描程序实验报告.doc

.....................\conf.properties

.....................\CPPScanner.jar

.....................\lib\juniversalchardet-1.0.3.jar

.....................\源代码\CPPScanner\.classpath

.....................\......\..........\.project

.....................\......\..........\.settings\org.eclipse.core.resources.prefs

.....................\......\..........\bin\conf\ConfInfo.class

.....................\......\..........\...\...troller\ErroInfoPrint.class

.....................\......\..........\...\..........\IFileController.class

.....................\......\..........\...\..........\IPrintData.class

.....................\......\..........\...\..........\Scanner.class

.....................\......\..........\...\..........\ScreenPrintData.class

.....................\......\..........\...\..........\TextFileController.class

.....................\......\..........\...\..........\TextFilePrintData.class

.....................\......\..........\...\..........\Token.class

.....................\......\..........\...\mainface\MainApplication$1.class

.....................\......\..........\...\........\MainApplication$2.class

.....................\......\..........\...\........\MainApplication$3.class

.....................\......\..........\...\........\MainApplication$4.class

.....................\......\..........\...\........\MainApplication$5.class

.....................\......\..........\...\........\MainApplication$6.class

.....................\......\..........\...\........\MainApplication$7.class

.....................\......\..........\...\........\MainApplication$8.class

.....................\......\..........\...\........\MainApplication.class

.....................\......\..........\...\util\EncoderUtil.class

.....................\......\..........\...\....\FileChooser.class

.....................\......\..........\...\....\GenericFileFilter.class

.....................\......\..........\...\....\PropertyUtil.class

.....................\......\..........\conf.properties

.....................\......\..........\juniversalchardet-1.0.3.jar

.....................\......\..........\manifest.mf

.....................\......\..........\src\conf\ConfInfo.java

.....................\......\..........\...\...troller\ErroInfoPrint.java

.....................\......\..........\...\..........\IFileController.java

.....................\......\..........\...\..........\IPrintData.java

.....................\......\..........\...\..........\Scanner.java

.....................\......\..........\...\..........\ScreenPrintData.java

.....................\......\..........\...\..........\TextFileController.java

.....................\......\..........\...\..........\TextFilePrintData.java

.....................\......\..........\...\..........\Token.java

.....................\......\..........\...\mainface\MainApplication.java

.....................\......\..........\...\util\EncoderUtil.java

.....................\......\..........\...\....\FileChooser.java

.....................\......\..........\...\....\GenericFileFilter.java

.....................\......\..........\...\....\PropertyUtil.java

.....................\......\..........\bin\conf

.....................\......\..........\...\controller

.....................\......\..........\...\mainface

.....................\......\..........\...\util

.....................\......\..........\src\conf

.....................\......\..........\...\controller

.....................\......\..........\...\mainface

.....................\......\..........\...\util

.....................\......\..........\.settings

.....................\......\..........\bin

.....................\......\..........\src

.....................\......\CPPScanner

.....................\lib

.....................\源代码

陈新杰(20072102321)

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度更多...
  • 请直接用浏览器下载本站内容,不要使用迅雷之类的下载软件,用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.

相关评论

暂无评论内容.

发表评论

*主  题:
*内  容:
*验 证 码:

源码中国 www.ymcn.org