Z
zfine
Unregistered / Unconfirmed
GUEST, unregistred user!
本人不懂c++,近来有一段代码需要转换成delphi代码
其中关键就是不明白CPtrList类,有那位高手指教一下
帮忙说明一下CPtrList类的一些方法说明如
typedef struct{
int direct;
bool isRun;
POINT newPos;
POINT oldPos;
}tag_MovePoint;
CPtrList m_MovePoints;
tag_MovePoint *pMP;
pMP=(tag_MovePoint*)m_MovePoints.RemoveHead();//用delphi怎么转换?什么含义?
for(k=0;k<cx*cy;k++)
{
while(!tmpList[k%2].IsEmpty())//tmpList[k%2]??用delphi怎么转换?什么含义?
{
pnt=(CPoint*)tmpList[k%2].RemoveHead();
i=pnt->x;
j=pnt->y;
.............
C++高手指教;先谢了;
其中关键就是不明白CPtrList类,有那位高手指教一下
帮忙说明一下CPtrList类的一些方法说明如
typedef struct{
int direct;
bool isRun;
POINT newPos;
POINT oldPos;
}tag_MovePoint;
CPtrList m_MovePoints;
tag_MovePoint *pMP;
pMP=(tag_MovePoint*)m_MovePoints.RemoveHead();//用delphi怎么转换?什么含义?
for(k=0;k<cx*cy;k++)
{
while(!tmpList[k%2].IsEmpty())//tmpList[k%2]??用delphi怎么转换?什么含义?
{
pnt=(CPoint*)tmpList[k%2].RemoveHead();
i=pnt->x;
j=pnt->y;
.............
C++高手指教;先谢了;