Category : Files from Magazines
Archive   : CUJ9208.ZIP
Filename : 1008084A

 
Output of file : 1008084A contained in archive : CUJ9208.ZIP
// anyclass.hpp
// declaration of anyClass, a test
// class, and declaration of
// RefCntPtr to anyClass

#ifndef CLASS_anyClass
#define CLASS_anyClass

#include "refptr.hpp"
#include "refitem.hpp"

#include

class anyClass : public RefCntItem
{
public:

int intVal;
char *string;

anyClass (void)
: RefCntItem()
, intVal(0)
, string(0)
{
cout << "anyClass constructor\n\n";
};

~anyClass (void)
{
cout << "anyClass destructor\n";
show();
};

void show(void)
{
cout << "anyClass contents:\n"
<< intVal << " "
<< string << "\n"
<< "reference count: "
<< refCnt() << "\n\n";
};
};

RefCntPtrDECLARE(anyClass)

#endif


  3 Responses to “Category : Files from Magazines
Archive   : CUJ9208.ZIP
Filename : 1008084A

  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/