开发者

if statement containing a semi-colon [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 10 years ago.

I've see开发者_C百科n this if statement recently:

if(hWnd > 0)
{
 ....
}

Can someone explain this syntax for me?

I've never seen a semi-colon in an if statement before.


It's HTML encoded and that code won't compile correctly until it is decoded. It should be this:

if(hWnd > 0)
{
    ....
}

The > is the HTML (or XML) entity for >. You might also find that the code contains other entities such as & instead of &.


It looks like an HTML-Encoded version of an if statement.

The > would be converted to a greater-than symbol: >

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜