文件名称:prespan
介绍说明--下载内容均来自于网络,请自行研究使用
一个序列模式程序,在CBuilder++建个命令行的工程后可以编译运行。功能还有待完善。输入文件data.txt,输出文件result.txt。
例:输入文件内容
(30) (90)
(10,20) (30) (40,60,70)
(30,50,70)
(30) (40,70) (90)
(90)
输出文件内容
<pattern>
<fred>3</fred>
<what>(30)</what>
<where>0 1 3</what>
</pattern>
<pattern>
<fred>2</fred>
<what>(30) (90)</what>
<where>0 3</what>
</pattern>
<pattern>
<fred>3</fred>
<what>(90)</what>
<where>0 3 4</what>
</pattern>
-This is a program about sequential pattern. Maybe some of its functions is not finished.
例:输入文件内容
(30) (90)
(10,20) (30) (40,60,70)
(30,50,70)
(30) (40,70) (90)
(90)
输出文件内容
<pattern>
<fred>3</fred>
<what>(30)</what>
<where>0 1 3</what>
</pattern>
<pattern>
<fred>2</fred>
<what>(30) (90)</what>
<where>0 3</what>
</pattern>
<pattern>
<fred>3</fred>
<what>(90)</what>
<where>0 3 4</what>
</pattern>
-This is a program about sequential pattern. Maybe some of its functions is not finished.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
prespan.cpp