Re: [Newbie][Code]Changing the eat command to check everything...

From: George (greerga@circlemud.org)
Date: 01/12/99


On Tue, 12 Jan 1999, Jon A. Nielsen wrote:

>>if (!str_cmp(arg, "all") {  /* str_cmp() is case insensitive */
>
>Missing a paren there, but I'm sure you just typo'd. =oD
>
>if (!str_cmp(arg, "all")) {
>
>And, he's right, CircleMUD is C-based, but you can throw in some C++ if
>you've a compiler that compiles C++.

Yup, just be careful of extensions (.c/.cpp) if you do so.  The code will
compile cleanly under C++ since about bpl13 or so.

--
George Greer
greerga@circlemud.org
http://www.van.ml.org/CircleMUD/OasisOLC/


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



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