[Qt-interest] a strange problem about if

Scott Aron Bloom Scott.Bloom at onshorecs.com
Fri Aug 5 04:32:34 CEST 2011


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/20110804/f26d39aa/attachment.html 


More information about the Qt-interest-old mailing list