... temp:integer; //记录总方案数; procedure print; //该子程序负责输出方案; for i:=1 to 8 do write(' (',i,',',ans[i],')'); //i代表行,ans[i]代表列; ...
基于1个网页-相关网页
For modularity and to introduce the concept of functions, the sort routine itself is implemented as a separate procedure along with the array print routine.
为了实现模块化和介绍函数的概念,排序例程本身实现为一个单独的过程,数组输出例程也是这样。
This function USES the display procedure to print a string to the screen.
该函数使用display过程将一个字符串打印到屏幕上。
This procedure is cumbersome, as the same print command has to be run several times to display each node at a time.
这个过程非常麻烦,必须多次运行print命令,每次显示一个节点。
应用推荐