Re: Revamping do_score

From: George (greerga@CIRCLEMUD.ORG)
Date: 09/21/98


On Mon, 21 Sep 1998, Anthony Rye wrote:

>On Mon, 21 Sep 1998, George wrote:
>
>> This doesn't work on Borland C++ ...
>
>Oh.. good thing i am using linux then :P (J/K George) :)
>
>I haven't seen any borland code is it the same a visual C or is it similar
>to something other?

It's the same, but Borland C would clear 'buf' before you used it.
Therefore, by the time you hit the "%s" to recopy buf, it would already be
empty. Don't know of any other C library that does that.

--
George Greer, greerga@circlemud.org | Genius may have its limitations, but
http://mouse.van.ml.org/   (mostly) | stupidity is not thus handicapped.
http://www.van.ml.org/CircleMUD/    |                  -- Elbert Hubbard


     +------------------------------------------------------------+
     | 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/15/00 PST