正则表达式的词法分析程序

上传者: 43731432 | 上传时间: 2021-04-06 16:45:29 | 文件大小: 185KB | 文件类型: RAR
aa
(1)C++源代码扫描程序识别C++记号。 C++语言包含了几种类型的记号:标识符,关键字,数(包括整数、浮点数),字符串、注释、特殊符号(分界符)和运算符号等。 (2)打开一个C++源文件,打印出所有以上的记号。 (3)要求应用程序应为Windows界面。 (4)选作部分:为了提高C++源程序的可读性,C++程序在书写过程中加入了空行、空格、缩进、注释等。假设你想牺牲可读性,以节省磁盘空间,那么你可以存贮一个删除了所有不必要空格和注释的C++源程序的压缩文本。因此,程序中还应该有这样的压缩功能。 (5)选作部分:进一步思考或实现——如何进一步实现减小源文件大小的压缩功能。 (6)应该书写完善的软件文档。

文件下载

资源详情

[{"title":"( 84 个子文件 185KB ) 正则表达式的词法分析程序","children":[{"title":"词法分析","children":[{"title":"词法分析.vcxproj.filters <span style='color:#111;'> 942B </span>","children":null,"spread":false},{"title":"词法分析.vcxproj <span style='color:#111;'> 3.83KB </span>","children":null,"spread":false},{"title":"c.cpp <span style='color:#111;'> 4.10KB </span>","children":null,"spread":false},{"title":"词法分析.vcxproj.user <span style='color:#111;'> 143B </span>","children":null,"spread":false},{"title":"666.txt <span style='color:#111;'> 82B </span>","children":null,"spread":false},{"title":"Debug","children":[{"title":"link.22748-cvtres.read.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"vc100.idb <span style='color:#111;'> 331.00KB </span>","children":null,"spread":false},{"title":"link.8892-cvtres.read.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"link.22524.read.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"CL.write.1.tlog <span style='color:#111;'> 638B </span>","children":null,"spread":false},{"title":"link.23496.read.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"link.22344.read.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"link.22344.write.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"CL.read.1.tlog <span style='color:#111;'> 9.96KB </span>","children":null,"spread":false},{"title":"mt.read.1.tlog <span style='color:#111;'> 218B </span>","children":null,"spread":false},{"title":"rc.write.1.tlog <span style='color:#111;'> 198B </span>","children":null,"spread":false},{"title":"link.22748.read.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"link.14324-cvtres.read.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"link.23496-cvtres.read.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"link.22748.write.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"rc.read.1.tlog <span style='color:#111;'> 190B </span>","children":null,"spread":false},{"title":"link.19812.write.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"link.13052-cvtres.write.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"link.3312-cvtres.read.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"link.19812-cvtres.read.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"link.23176-cvtres.write.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"词法分析_manifest.rc <span style='color:#111;'> 198B </span>","children":null,"spread":false},{"title":"link.23176-cvtres.read.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"link.3312.write.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"link.8892-cvtres.write.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"link.10720.write.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"mt.command.1.tlog <span style='color:#111;'> 326B </span>","children":null,"spread":false},{"title":"link.3312-cvtres.write.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"cl.command.1.tlog <span style='color:#111;'> 1.08KB </span>","children":null,"spread":false},{"title":"link-cvtres.read.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"link.19900-cvtres.read.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"link.3312.read.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"词法分析.write.1.tlog <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"link.14324-cvtres.write.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"link.10720.read.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"link.22524-cvtres.read.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"link.10720-cvtres.write.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"link.7660-cvtres.read.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"link.write.1.tlog <span style='color:#111;'> 474B </span>","children":null,"spread":false},{"title":"link.7660-cvtres.write.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"link.19900.write.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"link.8892.write.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"link-cvtres.write.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"link.7660.read.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"link.19812.read.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"link.22344-cvtres.write.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"link.command.1.tlog <span style='color:#111;'> 1.21KB </span>","children":null,"spread":false},{"title":"词法分析.exe.embed.manifest.res <span style='color:#111;'> 472B </span>","children":null,"spread":false},{"title":"link.19900-cvtres.write.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"link.22344-cvtres.read.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"rc.command.1.tlog <span style='color:#111;'> 414B </span>","children":null,"spread":false},{"title":"link.read.1.tlog <span style='color:#111;'> 2.63KB </span>","children":null,"spread":false},{"title":"link.23496-cvtres.write.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"词法分析.exe.intermediate.manifest <span style='color:#111;'> 381B </span>","children":null,"spread":false},{"title":"link.8892.read.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"词法分析.lastbuildstate <span style='color:#111;'> 57B </span>","children":null,"spread":false},{"title":"c.obj <span style='color:#111;'> 233.70KB </span>","children":null,"spread":false},{"title":"词法分析.exe.embed.manifest <span style='color:#111;'> 406B </span>","children":null,"spread":false},{"title":"link.13052.read.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"mt.write.1.tlog <span style='color:#111;'> 218B </span>","children":null,"spread":false},{"title":"link.13052.write.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"link.23176.write.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"Main.obj <span style='color:#111;'> 233.62KB </span>","children":null,"spread":false},{"title":"词法分析.log <span style='color:#111;'> 1.82KB </span>","children":null,"spread":false},{"title":"词法分析.vcxprojResolveAssemblyReference.cache <span style='color:#111;'> 713B </span>","children":null,"spread":false},{"title":"link.10720-cvtres.read.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"link.19900.read.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"link.23176.read.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"link.22524.write.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"link.7660.write.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"link.23496.write.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"link.14324.write.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"link.19812-cvtres.write.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"link.22748-cvtres.write.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"link.13052-cvtres.read.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"link.14324.read.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"link.22524-cvtres.write.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"vc100.pdb <span style='color:#111;'> 260.00KB </span>","children":null,"spread":false}],"spread":false},{"title":"Main.cpp <span style='color:#111;'> 3.75KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明