[Qt-interest] a strange problem about if

pengliang(彭亮) pengliang at founder.com
Fri Aug 5 03:55:00 CEST 2011


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/d0c3af18/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 84433 bytes
Desc: image002.png
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20110805/d0c3af18/attachment.png 


More information about the Qt-interest-old mailing list