文件名称:a
介绍说明--下载内容均来自于网络,请自行研究使用
输入:输入是一个文本文件,里面的内容是符合某个语言语法、词法要求的源代码(输入文件为C++或者Java源程序,词语、语法定义参考C++、Java即可;C++、Java大家只需要选择一种自己熟悉的语言就可以),例如“position = initial + rate * 60 ”;
输出:设计并实现对输入文件的处理(禁用正则表达式),以获得如下输出,输出是一个文本文件,对前面例子,里面内容是:
(标识符,position)
(赋值运算符,=)
(标识符,initial)
(加法运算符,+)
(标识符,rate)
(乘法运算符,*)
(整数,60)
(分隔符, )-Input: The input is a text file, which is in line with the contents of a language grammar, syntax required source (input file as C++ or Java source code, words, syntax definition reference C++, Java can C++, Java we only need choose a familiar language can be), for example, position = initial+ rate* 60
Output: design and realization of the input file processing (disable regular expressions) to obtain the following output, the output is a text file, for the previous example, which reads:
(Identifier, position)
(The assignment operator, =)
(Identifier, initial)
(Addition operator,+)
(Identifier, rate)
(Multiplication operator,*)
(Integer, 60)
(Separator, )
输出:设计并实现对输入文件的处理(禁用正则表达式),以获得如下输出,输出是一个文本文件,对前面例子,里面内容是:
(标识符,position)
(赋值运算符,=)
(标识符,initial)
(加法运算符,+)
(标识符,rate)
(乘法运算符,*)
(整数,60)
(分隔符, )-Input: The input is a text file, which is in line with the contents of a language grammar, syntax required source (input file as C++ or Java source code, words, syntax definition reference C++, Java can C++, Java we only need choose a familiar language can be), for example, position = initial+ rate* 60
Output: design and realization of the input file processing (disable regular expressions) to obtain the following output, the output is a text file, for the previous example, which reads:
(Identifier, position)
(The assignment operator, =)
(Identifier, initial)
(Addition operator,+)
(Identifier, rate)
(Multiplication operator,*)
(Integer, 60)
(Separator, )
(系统自动生成,下载前可以参看下载内容)
下载文件列表
a.cpp