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

>     A couple of fun questions to ask a potential coder:

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

It's a very bad idea to use the method I know you're thinking of. It's
not standard ANSI C, and isn't supported by a lot of the compilers that
Circle is portable to.

>     How would you divide by 2 with out '/'?

Why would you bother, when it takes away from the readability and
sense of the code and just about any compiler out there optimises
it anyway?


Kenneth G. Cavness
Software Engineer
Proxicom, Inc.

     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | |

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