do....while循环的小问题
int NbVertex = 0;int success;
do
{
float x,y,z;
ReadWord();
success = sscanf(m_pBufferWord,"%f",&x);//m_pBufferWord=-0.0378297这一列数
ReadWord();
success &= sscanf(m_pBufferWord,"%f",&y);//m_pBufferWord=0.12794这一列数
ReadWord();
success &= sscanf(m_pBufferWord,"%f",&z);//m_pBufferWord=0.00447467这一列数
NbVertex += success;
//TRACE("\n (%g %g %g) ",x,y,z);
}
while(success);
想问一下,这样子的话,while中什么条件下使do中程序运行,什么条件下停止运行,谢谢