At 11:29 AM 11/26/97 -0500, you wrote: >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 >variable. > >>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? >>like, >>Log << "1st message" << "2nd message" << 3 << "rd message"; >>Log.flush(); > >Log << "1st part " << "second part" << Log; >(sending the log class to itself causes a flush, kind of a hack...) doesn't work. sorry to burst your bubble, any other ideas? test.c++: In function `int main()': test.c++:8: no match for `operator <<(class log, class log)' //test.c++ #include <iostream.h> #include "log.h" int main() { class log Log; Log << "hi" << " hi " << Log; // <-- Line 8 (trust me, this is it) Log << " foo" << -20; Log.flush(); Log << "What the fuck?" << " "; Log << 1 << " " << -1 << " " << 12000000 << " " << -12000000 << " "; } would appreciate it. and why do you only have a length of 11 for the strings? Akuma the Raging Coder +------------------------------------------------------------+ | "The poets talk about love, but what I talk about is DOOM, | | because in the end, DOOM is all that counts." - | | Alex Machine/George Stark/Stephen King, The Dark Half | | "Nothing is IMPOSSIBLE, Just IMPROBABLE" | | "Easier Said Than Done, But Better Done Than Said..." | +------------------------------------------------------------+ +------------------------------------------------------------+ | 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