文件名称:scanner
介绍说明--下载内容均来自于网络,请自行研究使用
C++源代码单词扫描程序(词法分析)
功能:
(1)C++源代码扫描程序识别C++记号。
C++语言包含了几种类型的记号:标识符,关键字,数(包括整数、浮点数),字符串、注释、特殊符号(分界符)和运算符号等。
(2)打开一个C++源文件,打印出所有以上的记号。
(3)要求应用程序应为Windows界面。
(4)选作部分:为了提高C++源程序的可读性,C++程序在书写过程中加入了空行、空格、缩进、注释等。假设你想牺牲可读性,以节省磁盘空间,那么你可以存贮一个删除了所有不必要空格和注释的C++源程序的压缩文本。因此,程序中还应该有这样的压缩功能。
(5)选作部分:进一步思考或实现——如何进一步实现减小源文件大小的压缩功能。
(6)应该书写完善的软件文档。
-C++ source code word Scanner (lexical analysis) functions: (1) C++ source code scanner to identify C++ mark. C++ language includes several types of tokens: identifiers, keywords, numbers (including integer, floating point), strings, comments, special symbols (delimiters), and operation symbols. (2) Open a C++ source file, print out all of the above marks. (3) requires that the application should be Windows interface. (4) is selected as the section: C++ source in order to improve readability, C++ program in the writing process by adding a blank line, space, indentation, comments, and so on. Suppose you want to sacrifice readability, to save disk space, you can store a compressed text deleted all unnecessary whitespace and comments C++ source program. Therefore, the program also should have such compression. (5) is selected as the section: further consideration or implementation- how to further achieve a reduction in the size of the source file compression functions. (6) should write per
功能:
(1)C++源代码扫描程序识别C++记号。
C++语言包含了几种类型的记号:标识符,关键字,数(包括整数、浮点数),字符串、注释、特殊符号(分界符)和运算符号等。
(2)打开一个C++源文件,打印出所有以上的记号。
(3)要求应用程序应为Windows界面。
(4)选作部分:为了提高C++源程序的可读性,C++程序在书写过程中加入了空行、空格、缩进、注释等。假设你想牺牲可读性,以节省磁盘空间,那么你可以存贮一个删除了所有不必要空格和注释的C++源程序的压缩文本。因此,程序中还应该有这样的压缩功能。
(5)选作部分:进一步思考或实现——如何进一步实现减小源文件大小的压缩功能。
(6)应该书写完善的软件文档。
-C++ source code word Scanner (lexical analysis) functions: (1) C++ source code scanner to identify C++ mark. C++ language includes several types of tokens: identifiers, keywords, numbers (including integer, floating point), strings, comments, special symbols (delimiters), and operation symbols. (2) Open a C++ source file, print out all of the above marks. (3) requires that the application should be Windows interface. (4) is selected as the section: C++ source in order to improve readability, C++ program in the writing process by adding a blank line, space, indentation, comments, and so on. Suppose you want to sacrifice readability, to save disk space, you can store a compressed text deleted all unnecessary whitespace and comments C++ source program. Therefore, the program also should have such compression. (5) is selected as the section: further consideration or implementation- how to further achieve a reduction in the size of the source file compression functions. (6) should write per
(系统自动生成,下载前可以参看下载内容)
下载文件列表
scanner
.......\Debug
.......\.....\scanner.exe
.......\.....\scanner.ilk
.......\.....\scanner.obj
.......\.....\scanner.pch
.......\.....\scanner.pdb
.......\.....\scanner.res
.......\.....\scannerDlg.obj
.......\.....\StdAfx.obj
.......\.....\vc60.idb
.......\.....\vc60.pdb
.......\ReadMe.txt
.......\res
.......\resource.h
.......\...\scanner.ico
.......\...\scanner.rc2
.......\scanner.aps
.......\scanner.clw
.......\scanner.cpp
.......\scanner.dsp
.......\scanner.dsw
.......\scanner.h
.......\scanner.ncb
.......\scanner.opt
.......\scanner.plg
.......\scanner.rc
.......\scannerDlg.cpp
.......\scannerDlg.h
.......\StdAfx.cpp
.......\StdAfx.h