#include <stdio.h>
#include <iostream>
#include <string>
using namespace std;
struct A
{
A(const char* str)
{
static A a="hello";
printf("[%s]",str);
}
A& operator=(const char* str)
{
printf("[==%s]",str);
return *this;
}
} ;
A a0="what";
int _tmain(int argc, _TCHAR* argv[])
{
A a1="test";
A a2="hot";
system("pause");
return 0;
}