code=C/C++][/code]
typedef struct MSG 
{
DWORD dwContentLen;   //消息内容长度
char* strContent;     //消息内容
}SMSG;
typedef SMSG* PSMSG;
typedef list<PSMSG> LST_MSG;LST_MSG* plstMsg = new LST_MSG(10000);
ASSERT(NULL != plstMsg);
for(LST_MSG::const_iterator it = plstMsg->begin();it != plstMsg->end();it++)
{
ar >> (*it)->dwContentLen; //这里有问题,求达人啊
}
省略了一些代码
结构体也存储了。
怎么我运行到这里会提示unhandled exception....