#include <iostream>
using namespace std;
class CTmp
{
public:
CTmp();
~CTmp();
};
CTmp::CTmp()
{
cout<<"main 之前"<<endl;
}
CTmp::~CTmp()
{
MessageBox(0,"main 之后","",0);
}
CTmp tmp;
int main(void)
{
cout<<"main 之中"<<endl;
return 0;
}