[Solved] Is there some reason for this kind of for-loop?
[ad_1] As long as you’re bothered with the for loop syntax, for ( ; lastheight < height ; lastheight++) is perfectly valid, as long as lastheight is defined and initialized previously. Quoting C11, chapter ยง6.8.5.3 for ( clause-1 ; expression-2 ; expression-3 ) statement […] Both clause-1 and expression-3 can be omitted. An omitted expression-2 … Read more