文件名称:test1
-
所属分类:
- 标签属性:
- 上传时间:2014-04-16
-
文件大小:1.4kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
1.1输入输出
程序输入为含有Pascal语言字符串的文件Test.cpp程序在控制台输出为含有二元组<code,String>和错误信息。其中code为单词符号类别标示,String为识别的单词。
1.2大小写不敏感:
程序对大小写不敏感,输出均为小写字符。
1.3注释识别功能:
当程序中出现“/*”时就会放弃对之后字符的识别,直至遇到“*/”,并将/*…*/部分识别为注释输出。
当输入中只有“/*”而没有与之对应的“*/”时输出“ERROE!(错误注释!)”,同时放弃对之后字符串的识别。-1.1 Input and output program input file containing the Pascal language program Test.cpp string containing the console output tuple <code,String> And error messages. Which code word symbol for the category labeled, String to recognize words. 1.2 case-insensitive: the program is not case sensitive, outputs are lowercase. 1.3 notes recognition feature: it will give up the " /*" after the character recognition when, until it encounters " * /" and /* ...*/comment section identified as the output when the program appears. When the input is only " /*" and no corresponding " * /" output " ERROE! (Wrong note!)" , While giving up after identification string.
程序输入为含有Pascal语言字符串的文件Test.cpp程序在控制台输出为含有二元组<code,String>和错误信息。其中code为单词符号类别标示,String为识别的单词。
1.2大小写不敏感:
程序对大小写不敏感,输出均为小写字符。
1.3注释识别功能:
当程序中出现“/*”时就会放弃对之后字符的识别,直至遇到“*/”,并将/*…*/部分识别为注释输出。
当输入中只有“/*”而没有与之对应的“*/”时输出“ERROE!(错误注释!)”,同时放弃对之后字符串的识别。-1.1 Input and output program input file containing the Pascal language program Test.cpp string containing the console output tuple <code,String> And error messages. Which code word symbol for the category labeled, String to recognize words. 1.2 case-insensitive: the program is not case sensitive, outputs are lowercase. 1.3 notes recognition feature: it will give up the " /*" after the character recognition when, until it encounters " * /" and /* ...*/comment section identified as the output when the program appears. When the input is only " /*" and no corresponding " * /" output " ERROE! (Wrong note!)" , While giving up after identification string.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
实验一.cpp
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.