// A.h: interface for the CA class.
//
//
#if !defined(AFX_A_H__AED18D70_2E0E_4FF9_9EF5_E04F5EF8E753__INCLUDED_)
#define AFX_A_H__AED18D70_2E0E_4FF9_9EF5_E04F5EF8E753__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include <iostream.h>
class CA
{
public:
int m_a;
CA();
virtual ~CA();
void virtual print()
{
cout << "ca print" << endl;
}
};
#endif // !defined(AFX_A_H__AED18D70_2E0E_4FF9_9EF5_E04F5EF8E753__INCLUDED_)
// A.cpp: implementation of the CA class.
//
//
#include "A.h"
#include <iostream.h>
//
// Construction/Destruction
//
CA::CA()
{
cout << "ca constructor" << endl;
}
CA::~CA()
{
}
// B.h: interface for the CB class