大哥们帮看看.错在哪里了?
cnvvv 2004-08-29 02:44:09 stl list:
typedef struct _P
{
DWORD Len;
list <char*> m_a;
} PIE;
PIE* aa=(PIE*)GlobalAlloc(GPTR,sizeof(PIE));
aa->Len=0;
char* tmsg=new char[1024];
memset(tmsg,0,1024);
memcpy(tmsg,"123",3);
aa->m_a.push_back(tmsg);