Re: question to ask potential coders

From: Kenneth G. Cavness (kcavness@PROXICOM.COM)
Date: 11/03/97


Ah... well that isn't so bad =)

( was thinking that you wanted it all done on one line )


Thanks,
--
Kenneth G. Cavness
Software Engineer
Proxicom, Inc.
-----Original Message-----
From: Angus Mezick <angus@EDGIL.CCMAIL.COMPUSERVE.COM>
To: CIRCLE@post.queensu.ca <CIRCLE@post.queensu.ca>
Date: Monday, November 03, 1997 11:13 AM
Subject: Re:  question to ask potential coders


     A  B   math
     5  8   a=5  b=8
     5 13   b=b+a
     8 13   a=b-a
     8  5   b=b-a

     just a cute C trick, not really fair.  I like to spring it on the
     cocky canidates.  (the stack counts as a temp variable)
     --Angus

Anyone else have a good question?
______________________________ Forward Header
__________________________________
Subject: Re:  Hacker MUDSTEALER ALERT gone off topic
Author:  INTERNET:CIRCLE@post.queensu.ca at CSERVE
Date:    11/3/97 10:26 AM

So how do you switch int vars without a temp?
I hope you don't say something silly like the stack or pointers...

Thanks,
>Nathan Davies,

>     How do you switch the position of 2 int variables without using a temp
>     variable?
>


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
     +------------------------------------------------------------+


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
     +------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/08/00 PST