文件名称:Compiler
介绍说明--下载内容均来自于网络,请自行研究使用
(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
(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)
.....................\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)