不使用任何参数运行该程序将生成清单2中的输出。
Running this program with no arguments generates the output in Listing 2.
然后,应用程序返回一个介于 0 和该参数之间的随机数字,并将生成的数字返回给调用者。
The application will then return a random number that's between 0 and this parameter, and return that generated number to the caller.
清单8将用生成图1底部所示图像所使用的参数演示程序用法。
Listing 8 demonstrates the program usage with the parameters used to generate the image shown on the bottom of Figure 1.
应用推荐