if statement containing a semi-colon [closed]
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: >
加载中,请稍侯......
精彩评论