#pragma option w32c
#include "winbase.h--"
#include "class.h--"
#include "msvcrt.h--"
struct info {
	info(dword str);
	~info();
	char buf[80];
};

info::info(dword str)
{
	IF(this){
		strcpy(#buf,str);
		printf("%s%s\n","Create class in ",#buf);
	}
	return this;
}

info::~info()
{
	printf("%s%s\n","Destroy class in ",#buf);
}

info ss;

int CheckClass()
{
info s1;
dword w1;
	w1 = new info("allocate memory");
	s1.info("stack memory");
	ss.info("programm memory");
	delete ss;
	delete w1 info;
}

void main()
{
	CheckClass();
}