Void CTEST: : OnButton4 ()
{
//TODO: Add your the control notification handler code here
/* the UpdateData (TRUE);
UINT I=(m_show & gt;> 1); */
int i=0;
I=(4 & gt;> 2);
}
After press Button4 button, could you tell me why I will always be equal to zero? Displacement calculation is what doesn't work?
CodePudding user response:
No way!
int i=0;
I=(4 & gt;> 2);
AfxDump & lt;
CodePudding user response:
Debug mode output, could be optimized away
Void CTEST: : OnButton4 ()
{
int i=0;
I=(4 & gt;> 2);
TRACE (_T (" 4 & gt;> 2=% d \ n "), I);
}
CodePudding user response: