> 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?
(<<)
Thanks,
--
Kenneth G. Cavness
Software Engineer
Proxicom, Inc.
+------------------------------------------------------------+
| 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