1) addition and subtraction is supported? 2) the part about dividing by to is actually to test to see if they know what is going on in bit vectors. Circle uses a lot of them, and I use more. ______________________________ Forward Header __________________________________ Subject: Re: Hacker MUDSTEALER ALERT Author: INTERNET:CIRCLE@post.queensu.ca at CSERVE Date: 11/3/97 11:06 AM > 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? (<<) +------------------------------------------------------------+ | 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