#include <stdio.h>
int main()
{
int iCntMax = 0;
int iIndex = 0;
loop:
if (iIndex > 3)//加上循环条件
goto loop_1;
if (iIndex++ < iCntMax)
{
printf("iIndex = %d\n", iIndex);
}
goto loop;
loop_1://条件满足跳出循环 不然悲剧楼!!
printf("%d",iIndex);
}
int main()
{
int iCntMax = 0;
int iIndex = 0;
loop:
if (iIndex > 3)//加上循环条件
goto loop_1;
if (iIndex++ < iCntMax)
{
printf("iIndex = %d\n", iIndex);
}
goto loop;
loop_1://条件满足跳出循环 不然悲剧楼!!
printf("%d",iIndex);
}