在这种情况下,代码无论如何都不会工作。
In these cases, your code probably won't work under any circumstances.
这些错误几乎总是表明编程草率。所以如果是您的代码,无论如何都应该清除这些错误。
These errors nearly always indicate sloppy programming. So if it's your code, you should clean them up anyway.
无论如何,样本代码演示了使用libtiff API的基本要素。
In any case, the sample code shows the basics of using the libtiff API. A few points worth noting.
So conceptually the key difference here, besides the syntax looking slightly different, it just means that if you want a chunk of code to execute no matter what initially, ; you can use the do while loop; if you want to check a condition first, you can use the while loop.
所以概念上,则关键的区别是,除了语法看起来有点不同,它的意思是如果你想要一段代码,最初无论如何都要执行,你就可以用do,while循环;,如果你想要先检查条件,你可以用while循环。
应用推荐