登录
首页 » Windows开发 » Compiler Principle small programs have a small problem source files as follows :...

Compiler Principle small programs have a small problem source files as follows :...

于 2022-04-18 发布 文件大小:1.56 kB
0 90
下载积分: 2 下载次数: 1

代码说明:

编译原理小程序 有点小问题 源程序文件内容如下: main() { int a, b a = 10 b = a + 20 } 要求输出如下: (2,”main”) (5,”(”) (5,”)”) (5,”{“} (1,”int”) (2,”a”) (5,”,”) (2,”b”) (5,” ”) (2,”a”) (4,”=”) (3,10) (5,” ”) (2,”b”) (4,”=”) (2,”a”) (4,”+”) (3,20) (5,” ”) (5,”)”)-Compiler Principle small programs have a small problem source files as follows : main () (int a, b a = b = a 10 20) output requirements are as follows : (2, "main") (5 ,"(") (5, " ) ") (5 ,"{"} (1," int ") (2," a ") (5 ,",") (2," b ") (5," ") (2," a " ) (4 ,"=") (3,10) (5, "") (2, "b") (4 ,"=") (2, "a") (4, "") (3,20 ) (5, "") (5 ,")")

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 通过该程序,可以快捷连接到文件夹或文件。
    通过该程序,可以快捷连接到文件夹或文件。-adoption of the procedures, can quickly connect to the folder or document.
    2022-08-07 12:24:55下载
    积分:1
  • 一个石子游戏的源代码
    一个石子游戏的源代码-a stone game"s source code
    2022-11-26 03:25:03下载
    积分:1
  • Description: 采用邻接表表示有向图,完成图的创建、图的深度优先遍历、图的广度优先遍历操作。其中图的顶点信息是字符型,图中顶点序号按字符顺序排列,...
    Description: 采用邻接表表示有向图,完成图的创建、图的深度优先遍历、图的广度优先遍历操作。其中图的顶点信息是字符型,图中顶点序号按字符顺序排列,边的输入按照边的顶点序号从小到大的顺序排列,如下图的边的输入顺序为0 1,0 2,0 3,1 2,1 3,2 4,3 4共七条边,邻接表的边结点采用头插法。本输入样例中所用的图如下所示: Input Format: 第一行输入两个值,第一个是图中顶点的个数,第二个是图中边的条数 第二行输入各顶点的信息,即输入每个顶点字符 第三行开始输入每条边,每条边的形式为两个顶点的序号,中间以空格隔开,输入完一条边换行 Output format: 首先输出图的顶点信息,输出完毕换行 接着输出图的邻接表,格式为首先输出第一个顶点,接着输出该顶点的所有的临界点的序号,换行,然后输出下一个顶点及邻接点,以此类推 接下来一行输出从图的第一个顶点开始进行深度优先遍历的序列,中间以空格隔开,输出完毕换行 最后一行输出从图的第一个顶点开始进行广度优先遍历的序列,中间以空格隔开,输出完毕换行 -Description: Adjacency list using said directed graph to complete the map creation, map of the depth-first traversal, breadth-first graph traversal operations. In which vertex information is character, the graph vertices in order arranged by character number, while the input side of the vertex according to serial number from small to large order, the following graph of the input side of the order of 0 1,0 2,0 3,1 2,1 3,2 4,3 4 a total of seven edge, the edge-node adjacency list using the first interp
    2022-01-28 23:09:39下载
    积分:1
  • Sometimes, it would be nice to have an edit box with a spell checker and/or thes...
    Sometimes, it would be nice to have an edit box with a spell checker and/or thesaurus built in, especially if you use edit boxes to enter longer messages
    2022-02-12 05:19:41下载
    积分:1
  • GPA calculator source code, through debugging, vc6.0 and sql server 2000 databas...
    GPA计算器的源码,通过调试,vc6.0和sql server 2000数据库,谢谢使用-GPA calculator source code, through debugging, vc6.0 and sql server 2000 database, thank you to use! ! !
    2022-01-26 03:10:35下载
    积分:1
  • translucent window, small and easy to use, simple!
    半透明窗口,短小精悍,使用方便,操作简单! -translucent window, small and easy to use, simple!
    2023-04-14 04:50:03下载
    积分:1
  • vc动态链接库的一个很好的例子,希望对新手有所帮助,欢迎下载...
    vc动态链接库的一个很好的例子,希望对新手有所帮助,欢迎下载-it is a vc dynamic link library
    2022-03-01 10:18:34下载
    积分:1
  • 火星星历29 kb。
    Mars ephemeris size 29 KB. Trigonometric expansion for the ephemeris of Mars (Bretagnon). Medium accuracy (4" longitude), tested against DE200. 火星星历计算程序。-Mars ephemeris size 29 KB. Trigonometric expansion for the ephemeris of Mars (Bretagnon). Medium accuracy (4
    2022-03-21 11:08:24下载
    积分:1
  • 2022-02-03 09:44:14下载
    积分:1
  • Control the use of VC produced Videoplayer simple video player!
    使用VC控件Videoplayer制作的简单的视频播放器!-Control the use of VC produced Videoplayer simple video player!
    2022-03-06 13:51:06下载
    积分:1
  • 696518资源总数
  • 105877会员总数
  • 14今日下载