Category : Files from Magazines
Archive   : CUJ9201.ZIP
Filename : 1001127B

 
Output of file : 1001127B contained in archive : CUJ9201.ZIP
#include
#include


class Conbuf : public streambuf
{
int do_sputn(const char *s,int n);
int overflow(int=EOF);
} conbuf;

int Conbuf::overflow(int c)
{
do_sputn((char *)&c,1);
return 1;
}

int Conbuf::do_sputn(const char *s,int n)
{
int n1=n;
while (n1--)
{
putch(*s);
if (*s++=='\n')
{
putch('\r');
clreol();
}
}
return n;
}

ostream conout=&conbuf;


  3 Responses to “Category : Files from Magazines
Archive   : CUJ9201.ZIP
Filename : 1001127B

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/