c++模拟MFC中运行时类型识别(RTTI)(Run-Time Type Identification)
<br />// CRuntimeClass.cpp : Defines the entry point for the console application.//#include "stdafx.h"#include <iostream.h>typedef long BOOL;#define TRUE 1#define FALSE 0//运行时类型识别struct CMyRuntimeClass{ char m_ClassName[32];