Re: C++ CircleMUD

From: George (greerga@CIRCLEMUD.ORG)
Date: 11/26/97

On Wed, 26 Nov 1997, Akuma/Chris Baggett/DOOMer wrote:

>this took awhile, considering i did it by hand.
>(i didn't use the patch ON PURPOSE).

It is mostly a no-brainer patch anyway.  Find a conflict, rename the

>anyway, i finally found George's Log class,
>and i was wondering if it was truly finished or not?

I decided I liked printf style things better so I never finished it.

>and not only that, how does he propose to use it?
>Log << "1st message" << "2nd message" << 3 << "rd message";

Log << "1st part " << "second part" << Log;
(sending the log class to itself causes a flush, kind of a hack...)

>am i required to do a flush everytime? or could i possibly
>just 1) find a way for the flush() to be automatic? or 2) put
>somewhere in the game_loop()  Log.flush(); ??

Yup, because you can send integers and other things in there too and it
won't know when you're done sending the string otherwise.

>The reason i converted to C++, was b/c i FINALLY understand the C++ classes.
>(Not completely mind you, just enough to get me to another C++
>Classes webpage :-P )

A string/socket class would be nice to get if you are C++ now.

George Greer  -   | Genius may have its limitations, but stupidity | is not thus handicapped. -- Elbert Hubbard

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

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