文件名称:A-simple-language-interpreter
- 所属分类:
- 其他小程序
- 资源属性:
- [Windows] [Visual.Net] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 1.2mb
- 下载次数:
- 0次
- 提 供 者:
- 潇***
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
一个简单的语言解释器, 它可以读入一个简单的文本标记文件,并提取和
转换相应的成员关系信息。文件内容如下所示。
一个简单的文本标记文件:
<class>
<student>
<name>ABC</name>
<id>123456</id>
group1
</student>
</class>
每组"标记"包含两部分:标记名称和标记值。例如, <id>123456</id>是一组标记。标记名称包含在一对尖括号中
("<" 和 ">"), <id> 称为标记头, </id> 称为标记尾。 标记头和标记尾之间的称为标记的值。 在上面的例子中,
标记名称=id, 标记值=123456;而 group1 则是标记名称=student 的标记值。首尾标记名称及标记值可以分行写,但
表记名<>之间不能被回车分割,所有的标记值字符串不能被回车行或者其他标记分割。
具体的输入输出要求在压缩包中有。-A simple language interpreter, which can read a simple text markup files, and extract and
Convert the corresponding membership information. Contents of the file is shown below.
A simple text markup file:
<class>
<student>
<name> ABC </ name>
<id> 123456 </ id>
group1
</ Student>
</ Class>
Each "tag" contains two parts: the tag name and tag values. For example, <id> 123456 </ id> is a set of tags. Tag Name
Contained in a pair of angle brackets
("<" And ">"), <id> called tag header, </ id> as end tag. Tag between the head and tail marking as standard
Note value. In the above example,
Tag name = id, tag value = 123456 and group1 is the tag name = student of the tag values. Sum of tag name
And write tag values can branch, but
Table secret <> carriage return can not be split between all the tag value strings can not be split Enter the line or other marker.
Specific input a
转换相应的成员关系信息。文件内容如下所示。
一个简单的文本标记文件:
<class>
<student>
<name>ABC</name>
<id>123456</id>
group1
</student>
</class>
每组"标记"包含两部分:标记名称和标记值。例如, <id>123456</id>是一组标记。标记名称包含在一对尖括号中
("<" 和 ">"), <id> 称为标记头, </id> 称为标记尾。 标记头和标记尾之间的称为标记的值。 在上面的例子中,
标记名称=id, 标记值=123456;而 group1 则是标记名称=student 的标记值。首尾标记名称及标记值可以分行写,但
表记名<>之间不能被回车分割,所有的标记值字符串不能被回车行或者其他标记分割。
具体的输入输出要求在压缩包中有。-A simple language interpreter, which can read a simple text markup files, and extract and
Convert the corresponding membership information. Contents of the file is shown below.
A simple text markup file:
<class>
<student>
<name> ABC </ name>
<id> 123456 </ id>
group1
</ Student>
</ Class>
Each "tag" contains two parts: the tag name and tag values. For example, <id> 123456 </ id> is a set of tags. Tag Name
Contained in a pair of angle brackets
("<" And ">"), <id> called tag header, </ id> as end tag. Tag between the head and tail marking as standard
Note value. In the above example,
Tag name = id, tag value = 123456 and group1 is the tag name = student of the tag values. Sum of tag name
And write tag values can branch, but
Table secret <> carriage return can not be split between all the tag value strings can not be split Enter the line or other marker.
Specific input a
相关搜索: interpreter
(系统自动生成,下载前可以参看下载内容)
下载文件列表
标记语言的简单解释器算法实现\Debug\Testoutput.txt
............................\.....\标记语言的简单解释器算法实现.exe
............................\.....\标记语言的简单解释器算法实现.ilk
............................\.....\标记语言的简单解释器算法实现.pdb
............................\标记语言的简单解释器算法实现\Debug\BuildLog.htm
............................\............................\.....\mt.dep
............................\............................\.....\stdafx.obj
............................\............................\.....\vc90.idb
............................\............................\.....\vc90.pdb
............................\............................\.....\标记语言的简单解释器算法实现.exe.embed.manifest
............................\............................\.....\标记语言的简单解释器算法实现.exe.embed.manifest.res
............................\............................\.....\标记语言的简单解释器算法实现.exe.intermediate.manifest
............................\............................\.....\标记语言的简单解释器算法实现.obj
............................\............................\.....\标记语言的简单解释器算法实现.pch
............................\............................\linked_Queue.h
............................\............................\linked_Stack.h
............................\............................\ReadMe.txt
............................\............................\stdafx.cpp
............................\............................\stdafx.h
............................\............................\targetver.h
............................\............................\test.xml1.txt
............................\............................\test.xml2.txt
............................\............................\test.xml3.txt
............................\............................\test.xml4.txt
............................\............................\test.xml5.txt
............................\............................\Testoutput.txt
............................\............................\标记语言的简单解释器算法实现.cpp
............................\............................\标记语言的简单解释器算法实现.vcproj
............................\............................\标记语言的简单解释器算法实现.vcproj.HQH-PC.HQH.user
............................\............................\标记语言的简单解释器算法实现.vcproj.侯擎昊-PC.侯擎昊.user
............................\............................\算法思路和数据结构设计说明.docx
............................\标记语言的简单解释器算法实现.ncb
............................\标记语言的简单解释器算法实现.sln
............................\标记语言的简单解释器算法实现.suo
............................\............................\Debug
............................\Debug
............................\标记语言的简单解释器算法实现
标记语言的简单解释器算法实现
pa_B 2010.doc
............................\.....\标记语言的简单解释器算法实现.exe
............................\.....\标记语言的简单解释器算法实现.ilk
............................\.....\标记语言的简单解释器算法实现.pdb
............................\标记语言的简单解释器算法实现\Debug\BuildLog.htm
............................\............................\.....\mt.dep
............................\............................\.....\stdafx.obj
............................\............................\.....\vc90.idb
............................\............................\.....\vc90.pdb
............................\............................\.....\标记语言的简单解释器算法实现.exe.embed.manifest
............................\............................\.....\标记语言的简单解释器算法实现.exe.embed.manifest.res
............................\............................\.....\标记语言的简单解释器算法实现.exe.intermediate.manifest
............................\............................\.....\标记语言的简单解释器算法实现.obj
............................\............................\.....\标记语言的简单解释器算法实现.pch
............................\............................\linked_Queue.h
............................\............................\linked_Stack.h
............................\............................\ReadMe.txt
............................\............................\stdafx.cpp
............................\............................\stdafx.h
............................\............................\targetver.h
............................\............................\test.xml1.txt
............................\............................\test.xml2.txt
............................\............................\test.xml3.txt
............................\............................\test.xml4.txt
............................\............................\test.xml5.txt
............................\............................\Testoutput.txt
............................\............................\标记语言的简单解释器算法实现.cpp
............................\............................\标记语言的简单解释器算法实现.vcproj
............................\............................\标记语言的简单解释器算法实现.vcproj.HQH-PC.HQH.user
............................\............................\标记语言的简单解释器算法实现.vcproj.侯擎昊-PC.侯擎昊.user
............................\............................\算法思路和数据结构设计说明.docx
............................\标记语言的简单解释器算法实现.ncb
............................\标记语言的简单解释器算法实现.sln
............................\标记语言的简单解释器算法实现.suo
............................\............................\Debug
............................\Debug
............................\标记语言的简单解释器算法实现
标记语言的简单解释器算法实现
pa_B 2010.doc