[Qt-interest] 答复: a strange problem about if
pengliang(彭亮)
pengliang at founder.com
Fri Aug 5 04:38:58 CEST 2011
I use QtCreator debug my program. I came across this problem, so take my problem here.
发件人: qt-interest-bounces+pengliang=founder.com at qt.nokia.com [mailto:qt-interest-bounces+pengliang=founder.com at qt.nokia.com] 代表 Scott Aron Bloom
发送时间: 2011年8月5日 10:33
收件人: qt-interest at qt.nokia.com
主题: Re: [Qt-interest] a strange problem about if
What does this have to do with Qt???
Please contact a C++ tutorial group where the can help you learn to debug your code base…
From: qt-interest-bounces+scott.bloom=onshorecs.com at qt.nokia.com [mailto:qt-interest-bounces+scott.bloom=onshorecs.com at qt.nokia.com] On Behalf Of pengliang(??)
Sent: Thursday, August 04, 2011 6:55 PM
To: qt-interest at qt.nokia.com
Subject: [Qt-interest] a strange problem about if
Hi All
I came across a problem about if statement.
Please see the bellow picture.
Why the arrow skip into if statement?
-------------------------------------------------------------------- snippets
if ( lmIdx == impLI-1 ) // signal layer
{
yMBa[ymi][lmIdx] = 0;
qDebug() << ymi << lmIdx << yMBa[ymi][lmIdx];
if ( yMBa[ymi][lmIdx] == 1 ) // signal layer is not free(0)
{
yMDeepB=false;break;
}
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20110805/ba09d84c/attachment.html
More information about the Qt-interest-old
mailing list