Original Post
I am using MFC VC++ 6 and what i am trying to do is this:
public:
typedef struct
{
GLfloat x,y,z;
GLint color;
GLfloat u, v;
} VERTEX;
Declare a struct in the header file. Then, declare a pointer of type VERTEX in the same header file as in:
VERTEX *Vertices;
However, when i try to access this pointer (in the same class .cpp file), its address is not there. Why?
[edited by - KrAkPiPeR on June 13, 2002 2:48:19 PM]