For C
bool bFailed = true;
for(;;) {
if(condition1) {
break;
}
if(condition2) {
continue;
}
bFailed = false;
break;
}
if(bFailed) {
}
For C++
bool bFailed = true;
try {
for(;;) {
if(condition1) {
break;
}
if(condition2) {
continue;
}
bFailed = false;
break;
}
} catch(...) {
}
if(bFailed) {
}