Saturday, February 27, 2010

else if()

Writing conditional assignment without using else.
In other words, creating a custom else if.
My guess is that the coder doesn't like using
keywords containing 's'.
And in this case expecting operators would be a sin. :)
 
while(true)
{
    if(mainType == 7)
    {
        subType = 4;
        break;
    }

    if(mainType == 9)
    {
        subType = 6;
        break;
    }

    if(mainType == 11)
    {
        subType = 9;
        break;
    }

    break;
}
 
 
Source  

Friday, February 12, 2010

LOVE-ly Limericks...

A new Valentine...
The weather is all but fine,
the sun does hardly shine, 
alone I don't wanna dine, 
all I wish is for a Valentine

Thursday, February 11, 2010

Lame Limericks - The Beginning

Here are my lame limericks, 
output of my best picks,
which aren't any gimmicks,
for gaining a few clicks.
Churned by my brain, 
with little or no strain, 
reading it is no pain,
so visit again and again.


More will keep coming, so keep visiting. :)