If you run the program now, it will produce exactly the same result as before, like any proper refactoring should.
如果您现在运行这个程序,得到的结果与以前完全一样,这一点所有正确的重构都应该做到。
If you type the two lines shown in the figure and click Run (the triangle in the upper left), a window appears that is a result of the simple program (or sketch, in Processing lingo) that you entered.
如果输入图中所示的两行代码,然后单击Run(左上角的三角形),出现一个窗口,显示您所输入的简单程序(或Processing术语所指的sketch)的结果。
Let us change the active code page to 1252 by typing CHCP 1252 and run the program again. The result is.
让我们输入chcp 1252,将活动编码页改为1252,并再次运行这个程序。
If you run the program now, it produces exactly the same result as before, like any proper refactoring should.
如果您现在运行程序,那么将产生与以前完全相同的结果,像任何适当的重构应该的那样。
That's because shell_exec lets you run an external program via the shell, then returns the result as a string.
这是因为shell_exec允许您通过shell运行外部程序,然后以字符串的形式返回结果。
When we run the program this time, we get a cleaner looking result, as shown in Figure 10.
这次我们运行这个程序的时候,就会得到一个简洁得多的结果。如图10所示。
When we run the program this time, we get a cleaner looking result, as shown in Figure 10.
这次我们运行这个程序的时候,就会得到一个简洁得多的结果。如图10所示。
应用推荐