its i'm not wrong this will print out the msg 1000000 -1 tiems cos of the ++ in front rather than at the backOriginally posted by fudgester:#include
main()
{
int i;
for (i=1; i<=1000000; ++i)
{
printf ("My life sucks!!!!", i);
}
return 0;
}
/*Did I get my C programming coding right, mayi?*/
I got just 20% for the practical test.Originally posted by hisoka:its i'm not wrong this will print out the msg 1000000 -1 tiems cos of the ++ in front rather than at the back
Originally posted by fudgester:#include
main()
{
int i=1;
do
{
printf ("Shoot Bear in the rear end %i\n times", );
i++;
} while (i <= 100000);
return 0;
}
/*PS. Get mayi to explain this code to you. LOL!*/
i thought all EE need to do programing one??Originally posted by fudgester:I got just 20% for the practical test.
Somehow I managed to scrape through with a B-.
Needless to say, I'm a computer idiot. There's a reason why I never even considered computer engineering.![]()
*knocks hisoka's head*Originally posted by hisoka:i thought all EE need to do programing one??
anyway how are you at matlab? i wanna learn![]()
![]()
go eternal hope and light of alantisOriginally posted by the Bear:okay... i'm calling in all the mediums and bomohs and exocists and shamans...
Originally posted by hisoka:go eternal hope and light of alantis
me no scvOriginally posted by the Bear:don't want.. one full of nutters, the other sells stuff...
anyway, the big clubs are totally in control in the football games today
Originally posted by hisoka:me no scv![]()
![]()
anyway i only hope chelsea and barcelona loses all the way. cos i dun like them![]()
![]()
about time rooney recovered from the slump.Originally posted by the Bear:chelsea won 0-2
the blades missed a penalty... lampard with a lucky goal, dunno why bloody Kenny dive wrong way.. then he created a great goal for ballack..
LFC, Kuyt with a murderously powerful drive, Crouch with a flukish goal which they keep saying is good, and Garcia at the end of a stunning move which would not be out of place in Arsenal...
MUFC up 2 goals... Rooney is amazing tonight..
Originally posted by hisoka:about time rooney recovered from the slump.
is crouch really any good? everytime i see him play i see him missing tonnes of chances and doing nothing
must be something fishyOriginally posted by the Bear:someone's happy