Job At IIIT-B
Phew!! Finally a blog post! Seems that I was running out of ideas or for that matter had gone brain dead itself.
So here is something that came up while I was chatting with one of my friends.
int get_A_Job_At_IIIT () throw(TooUnluckyException )
{
switch(current_Status ) {
enjoy_Maadi:
case ALREADY_PLACED:
get_Drunk();
get_Flat();
shift_House();
enjoy_Maddi();
break;
case COMPANY_FIRED:
case RESEARCH_STUDENT:
pray_God();
if ( apply_Off_Campus() == true )
goto enjoy_Maadi;
else {
if ( butter_Professors() == true )
goto enjoy_Maadi;
if ( sit_For_Placements() == true )
goto enjoy_Maadi;
else {
try {
push_Push_Button();
}
catch ( TooUnluckyException& toulex ) {
// Solution not yet known. Ask caller to handle
throw;
solution.
}
}
}
break;
}
return 0;
}
Please post your comments and bugs if any.