I have big problems with structures!
typedef struct {WORD pixel;
int i;
int j;
int iStart;
int iMax_i;
int iMin_i;
double dAngle;
double dDistance;
CString csDecision;
int n;
} MfContour2D;
MfContour2D* Funct();
MfContour2D* pTmp = 0;
The function returns a pointer on some kind of a list of structure.
pTmp =Funct();
I want to point at places immediately after that ‘list’
pTmp += pTmp->n;
But I get problems, as at that place pTmp->n is not evaluable.
(Error: Expression cannot be evaluated!)
Can you please help me?
agurcan@hotmail.com
typedef struct {WORD pixel;
int i;
int j;
int iStart;
int iMax_i;
int iMin_i;
double dAngle;
double dDistance;
CString csDecision;
int n;
} MfContour2D;
MfContour2D* Funct();
MfContour2D* pTmp = 0;
The function returns a pointer on some kind of a list of structure.
pTmp =Funct();
I want to point at places immediately after that ‘list’
pTmp += pTmp->n;
But I get problems, as at that place pTmp->n is not evaluable.
(Error: Expression cannot be evaluated!)
Can you please help me?
agurcan@hotmail.com