Sheila Sisulu from the World Food Program says the project aims to break a cycle that keeps people hungry.
VOA: special.2009.11.17
But it is a very handy way of thinking about, not just how to program, but how to break problems down into nice sized chunks.
但是它确实是一种很方便的思考方式,不仅仅限于编程序,在将程序分解为小部分时也很有用。
We'll talk more about this later, but it often happens that when you change your program to solve one problem you break it, and things that used to work don't work.
我们以后会更多的去讨论者一点,但是经常发生的情况是当你因为,一个问题修改你的程序的时候,你修改了程序,但原来没问题的模块。
So this is copy1.c, same program as before break, let's really see what's going on here.
这是copy1。c,我们休息之前的那个同样的程序,我们看看这个到底发生了什么。
When you're all out of specific cases and you want to handle everything else, you literally say "default:" And here I could end the program with break, but it's kind of unnecessary because once I'm at the bottom of the curly braces, that's it.
当它不在你列出的所有情况中,为了处理其他的情况,你可以用“default:“,这里我可以用break来终止这段代码,但是它是有点,不必要的,因为我已经在这个花括号的,底部了,就这样了。
应用推荐