诡谲的 this

诡异的 thisclass Sampel{static Sample* pThispublic:Sample()}Sample:Sample():pThis(this){}错误Sam

诡异的 this
class Sampel
{
static Sample* pThis;

public:

Sample();
};

Sample:Sample():pThis(this)
{

}错误 

Sample:Sample():pThis
{
pThis=this;
} //ok



以上是第一个问题



第二个问题:

 无法解析的外部符号 "private: static class CMyClientDlg * CMyClientDlg::pThis" (?pThis@CMyClientDlg@@0PAV1@A)

这是什么原因导致的



[解决办法]
楼主还是看书认真一点吧,认真看看啥东西才可以放到初始化列表里。