Second is the fastest loser
"It is better to have ridden & crashed than never to have ridden at all" by Bruce Bennett
DB is the new Porridge. Cause most of the mods must be sucking his cock ..... Or his giving them some oral help? How else can you explain it?
Second is the fastest loser
"It is better to have ridden & crashed than never to have ridden at all" by Bruce Bennett
DB is the new Porridge. Cause most of the mods must be sucking his cock ..... Or his giving them some oral help? How else can you explain it?
Ok, here is another one:
I get more or less what the code does (although I am still amazed that this code would even compile) but what really gets to me is the second part of the question: "Why would someone want to do something like that?"
(Taken from Stroustrup's exercises)
Code:void send (int * to , int * from , int count ) // Duff’s device. Helpful comment deliberately deleted. { int n = (count +7 )/8 ; switch (count %8 ) { case 0 : do { *to++ = *from++; case 7 : *to++ = *from++; case 6 : *to++ = *from++; case 5 : *to++ = *from++; case 4 : *to++ = *from++; case 3 : *to++ = *from++; case 2 : *to++ = *from++; case 1 : *to++ = *from++; }while (--n>0) ; } }
"People are stupid ... almost anyone will believe almost anything. Because people are stupid, they will believe a lie because they want to believe it's true, or because they are afraid it might be true. People's heads are full of knowledge, facts, and beliefs, and most of it is false, yet they think it all true ... they can only rarely tell the difference between a lie and the truth, and yet they are confident they can, and so all are easier to fool." -- Wizard's First Rule
I can't remember if you were looking for work in Christchurch or not, but if so, pm and I will refer you to a recruiter that has worked for myself and others in the past.
Second is the fastest loser
"It is better to have ridden & crashed than never to have ridden at all" by Bruce Bennett
DB is the new Porridge. Cause most of the mods must be sucking his cock ..... Or his giving them some oral help? How else can you explain it?
Heres one that I was asked:
You have a processor that only has one register and only supports one instruction - "DCX LABEL" - which means decrement the value in the register and jump to LABEL if new value in register is not 0. Write a loop that'll decrements any number in the register (positive or negative) to 0.
kiwibiker is full of love, an disrespect.
- mikey
Ok, here is the opinion that would have gotten me thrown out of your interview:
you write the following line:
If register value is positive, it will iterate until it becomes zero.Code:label1: dcx label1
If it is zero it will exit right away.
If it is negative, it will happily decrement until the underflow, at which stage the value in the register will become positive and will keep decrementing itself to zero.
What's the right answer?
"People are stupid ... almost anyone will believe almost anything. Because people are stupid, they will believe a lie because they want to believe it's true, or because they are afraid it might be true. People's heads are full of knowledge, facts, and beliefs, and most of it is false, yet they think it all true ... they can only rarely tell the difference between a lie and the truth, and yet they are confident they can, and so all are easier to fool." -- Wizard's First Rule
Second is the fastest loser
"It is better to have ridden & crashed than never to have ridden at all" by Bruce Bennett
DB is the new Porridge. Cause most of the mods must be sucking his cock ..... Or his giving them some oral help? How else can you explain it?
can somebody explain how to set the clock on my microwave?
That's hardware. This is a software discussion
Originally Posted by skidmark
Originally Posted by Phil Vincent
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks