Qt/C++源代码单词扫描程序(词法分析)

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

文件下载

资源详情

[{"title":"( 60 个子文件 29.22MB ) Qt/C++源代码单词扫描程序(词法分析)","children":[{"title":"bin","children":[{"title":"imageformats","children":[{"title":"qicod.dll <span style='color:#111;'> 1.01MB </span>","children":null,"spread":false},{"title":"qwbmp.dll <span style='color:#111;'> 25.00KB </span>","children":null,"spread":false},{"title":"qsvgd.dll <span style='color:#111;'> 911.35KB </span>","children":null,"spread":false},{"title":"qjpeg.dll <span style='color:#111;'> 242.00KB </span>","children":null,"spread":false},{"title":"qtiff.dll <span style='color:#111;'> 437.50KB </span>","children":null,"spread":false},{"title":"qjpegd.dll <span style='color:#111;'> 2.06MB </span>","children":null,"spread":false},{"title":"qtga.dll <span style='color:#111;'> 26.00KB </span>","children":null,"spread":false},{"title":"qgifd.dll <span style='color:#111;'> 1021.28KB </span>","children":null,"spread":false},{"title":"qtiffd.dll <span style='color:#111;'> 1.88MB </span>","children":null,"spread":false},{"title":"qico.dll <span style='color:#111;'> 35.50KB </span>","children":null,"spread":false},{"title":"qgif.dll <span style='color:#111;'> 33.00KB </span>","children":null,"spread":false},{"title":"qicns.dll <span style='color:#111;'> 45.50KB </span>","children":null,"spread":false},{"title":"qtgad.dll <span style='color:#111;'> 1018.01KB </span>","children":null,"spread":false},{"title":"qsvg.dll <span style='color:#111;'> 27.00KB </span>","children":null,"spread":false},{"title":"qwebp.dll <span style='color:#111;'> 439.00KB </span>","children":null,"spread":false},{"title":"qwbmpd.dll <span style='color:#111;'> 741.85KB </span>","children":null,"spread":false},{"title":"qwebpd.dll <span style='color:#111;'> 2.58MB </span>","children":null,"spread":false},{"title":"qicnsd.dll <span style='color:#111;'> 894.33KB </span>","children":null,"spread":false}],"spread":false},{"title":"platforms","children":[{"title":"qoffscreend.dll <span style='color:#111;'> 6.01MB </span>","children":null,"spread":false},{"title":"qwindowsd.dll <span style='color:#111;'> 28.54MB </span>","children":null,"spread":false},{"title":"qminimal.dll <span style='color:#111;'> 1.02MB </span>","children":null,"spread":false},{"title":"qminimald.dll <span style='color:#111;'> 9.65MB </span>","children":null,"spread":false},{"title":"qwindows.dll <span style='color:#111;'> 1.68MB </span>","children":null,"spread":false},{"title":"qoffscreen.dll <span style='color:#111;'> 916.00KB </span>","children":null,"spread":false}],"spread":true},{"title":"libwinpthread-1.dll <span style='color:#111;'> 77.50KB </span>","children":null,"spread":false},{"title":"Lexing.exe <span style='color:#111;'> 63.00KB </span>","children":null,"spread":false},{"title":"image.rcc <span style='color:#111;'> 125.03KB </span>","children":null,"spread":false},{"title":"libstdc++-6.dll <span style='color:#111;'> 1.47MB </span>","children":null,"spread":false},{"title":"Qt5Core.dll <span style='color:#111;'> 5.81MB </span>","children":null,"spread":false},{"title":"libgcc_s_dw2-1.dll <span style='color:#111;'> 117.51KB </span>","children":null,"spread":false},{"title":"Qt5Widgets.dll <span style='color:#111;'> 6.06MB </span>","children":null,"spread":false},{"title":"qwindows.dll <span style='color:#111;'> 1.68MB </span>","children":null,"spread":false},{"title":"Qt5Gui.dll <span style='color:#111;'> 5.92MB </span>","children":null,"spread":false}],"spread":false},{"title":"src","children":[{"title":"Lexing","children":[{"title":"Lexing.h <span style='color:#111;'> 891B </span>","children":null,"spread":false},{"title":"Makefile.Debug <span style='color:#111;'> 49.98KB </span>","children":null,"spread":false},{"title":"Lexing.cpp <span style='color:#111;'> 7.43KB </span>","children":null,"spread":false},{"title":".qmake.stash <span style='color:#111;'> 1023B </span>","children":null,"spread":false},{"title":"Makefile.Release <span style='color:#111;'> 50.08KB </span>","children":null,"spread":false},{"title":"image.rcc <span style='color:#111;'> 125.03KB </span>","children":null,"spread":false},{"title":"ui_mainwindow.h <span style='color:#111;'> 2.15KB </span>","children":null,"spread":false},{"title":"main.cpp <span style='color:#111;'> 183B </span>","children":null,"spread":false},{"title":"mainwindow.ui <span style='color:#111;'> 654B </span>","children":null,"spread":false},{"title":"Lexing.pro.user <span style='color:#111;'> 23.33KB </span>","children":null,"spread":false},{"title":"debug","children":null,"spread":false},{"title":"mainwindow.cpp <span style='color:#111;'> 5.95KB </span>","children":null,"spread":false},{"title":"icon","children":[{"title":"compress.jpg <span style='color:#111;'> 106.43KB </span>","children":null,"spread":false},{"title":"lexing.jpg <span style='color:#111;'> 11.46KB </span>","children":null,"spread":false},{"title":"open.jpg <span style='color:#111;'> 6.90KB </span>","children":null,"spread":false}],"spread":false},{"title":"mainwindow.h <span style='color:#111;'> 638B </span>","children":null,"spread":false},{"title":"Makefile <span style='color:#111;'> 28.26KB </span>","children":null,"spread":false},{"title":"CompresssFile.h <span style='color:#111;'> 143B </span>","children":null,"spread":false},{"title":"CompresssFile.cpp <span style='color:#111;'> 1.20KB </span>","children":null,"spread":false},{"title":"Lexing.pro <span style='color:#111;'> 1.11KB </span>","children":null,"spread":false},{"title":"release","children":[{"title":"moc_mainwindow.cpp <span style='color:#111;'> 2.64KB </span>","children":null,"spread":false},{"title":"moc_mainwindow.o <span style='color:#111;'> 8.49KB </span>","children":null,"spread":false},{"title":"CompresssFile.o <span style='color:#111;'> 11.05KB </span>","children":null,"spread":false},{"title":"moc_predefs.h <span style='color:#111;'> 9.66KB </span>","children":null,"spread":false},{"title":"Lexing.exe <span style='color:#111;'> 63.00KB </span>","children":null,"spread":false},{"title":"mainwindow.o <span style='color:#111;'> 29.49KB </span>","children":null,"spread":false},{"title":"Lexing.o <span style='color:#111;'> 34.42KB </span>","children":null,"spread":false},{"title":"main.o <span style='color:#111;'> 1.44KB </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":true}],"spread":true}]

评论信息

免责申明

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