funct{....catch{...from here}; if{...}; to here: retrun 0;}
1 2 3 4 5 6 7 8 9 10 11
|
funct()
{
try {}
catch ()
{
goto there;
}
if(){}
there:
return 0;
}
| |
1 2 3 4 5 6 7 8 9 10
|
funct()
{
try {}
catch ()
{
return 0;
}
if(){}
return 0;
}
| |
Last edited on
Thanks. What we'll get in return upon the case below?
funct()
{
try_again:
try {}
catch ()
{
X=Y;
}
if(A!=B)
goto try_again;
return 0;
}
what?
ps: you should use a do-while there