The oil slick has now entered the loop current that runs from the Gulf of Mexico to the Florida Keys and up the east coast of the U.S., Jarvis said.
VOA: standard.2010.05.26
We start with j pointing here, and we can see what this loop's going to do, right? j is just going to move up.
我们让j指向这里,我们能看到这个,循环要做什么?,对吧,j要开始移动了。
So a loop or an infinite loop, because true is always true, there is no-- nothing on the screen that seems to change this keyword true, so this is actually a deliberate infinite loop, but so was that thing up top to forever say hi or whatever it is you wanted to do.
因此而出现死循环,屏幕上的这些语句无论怎么运行,都无法改变它为真的事实,这就是所谓的死循环,无论你想不想要,屏幕上都会不断打印出“hi“
应用推荐