20 Jun 2003 pencechp   » (Journeyer)

Mmmmm... Streeeeams...

Until I started using C++ stream syntax, I always said that using the bit-shift operators for input and output was one of the worst ideas I'd ever heard. Now that I'm used to it: it's incredible. I don't know what I did without it. I converted the Quake console to a stream that is almost (but not quite) transparent to std::ostream. I probably could have derived from std::ostringstream, but I didn't want to fight with it. I like my results, however, and it runs more quickly than a vsprintf() implementation. Score.

C. Pence, signing off.

Latest blog entries     Older blog entries

New Advogato Features

New HTML Parser: The long-awaited libxml2 based HTML parser code is live. It needs further work but already handles most markup better than the original parser.

Keep up with the latest Advogato features by reading the Advogato status blog.

If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!