if else 用法if(m_Rgn==NULL){\x05 m_Rgn=new CRgn; }else m_Rgn->DeleteObject();////////////请问这里怎么理解?{CPoint point[4];CPoint FirstPoint;CPoint SecondPoint;...}

来源:学生作业帮助网 编辑:作业帮 时间:2024/12/02 07:54:23
if else 用法if(m_Rgn==NULL){\x05 m_Rgn=new CRgn; }else m_Rgn->DeleteObject();////////////请问这里怎么理解?{CPoint point[4];CPoint FirstPoint;CPoint SecondPoint;...}
x)LSH)NUx>eųS34rlmB}|4c* L "y @B-XXT%5'$?)+5DCZ Xu/|Ύ^,_l_WP"Mb|̢0&ӫI*Gs2T`j0`a*t_! "y Y`q= FfHF-wug?yO

if else 用法if(m_Rgn==NULL){\x05 m_Rgn=new CRgn; }else m_Rgn->DeleteObject();////////////请问这里怎么理解?{CPoint point[4];CPoint FirstPoint;CPoint SecondPoint;...}
if else 用法
if(m_Rgn==NULL)
{
\x05 m_Rgn=new CRgn;
}
else m_Rgn->DeleteObject();////////////请问这里怎么理解?
{
CPoint point[4];
CPoint FirstPoint;
CPoint SecondPoint;
.
.
.
}

if else 用法if(m_Rgn==NULL){\x05 m_Rgn=new CRgn; }else m_Rgn->DeleteObject();////////////请问这里怎么理解?{CPoint point[4];CPoint FirstPoint;CPoint SecondPoint;...}
m_Rgn->DeleteObject 根据它的返回值来决定是否执行吧.