struct ScheduleItem *pSI;
pSI=new struct ScheduleItem;
POSITION pos;
pos=m_ScheduleList.GetHeadPosition();//CObList m_ScheduleList;
pSI->m_id = "1";
pSI->m_name = "a";
m_ScheduleList.AddHead((class CObject *)pSI);
pSI->m_id = "2";
pSI->m_name = "b";
m_ScheduleList.InsertAfter(pos,(CObject*)pSI);
这段代码是讲2条记录插入链表,但是显示出来的2条记录都是"2,b"
请帮我 纠正  谢谢!