Through this code, we can draw about the procedure tray production, startup screen and the property pages of the production application, is a good routine
基于1个网页-相关网页
Let's step through this code snippet.
让我们逐步研究这一代码片段。
Let's go element by element through this code.
我们来逐个看看这个代码中的元素。
Listing 19 shows you how this works — it's not as complex as it is a lot of work, so I'll let you walk through this code on your own.
清单19演示了如何做,虽然需要做很多工作,但是并不复杂,所以我把代码留给您自己来看。
OK. Note, by the way, if I chase through each possible path, like there's some IFs in here, if there's some places to go, at least in this piece of code, every possible path through this code ends in a return. And that's a good programming discipline, to make sure that happens.
注意一下,如果我跟进每一条可能的路径,像是这里的,起码在这段代码中就有很多走向,这段代码中的每一条可能路径,在结尾都会返回一个值,这就是一条很好的编程定律,请确保这样做。
I will be posting code that you can play with, and I suggest you go through exactly this kind of exercise.
我给你一些你用的上的代码,我建议你们,多进行一些这种实验。
It takes an int; deal with it when you get to it and then once you look through the whole file, should you find -- ultimately find the actual code that defines or impliments this thing.
它携带一个int数,当你获得了它就处理它,然后一旦你查看整个文件,最终你将发现实际代码中,定义或执行了这个东西。
应用推荐