Lesson 32 C++ question
In Lesson 32 we have the following struct:
// File header
struct MS3DHeader
{
char m_ID[10];
int m_version;
} PACK_STRUCT;
Then in the code we have the following line:
MS3DHeader *pHeader = ( MS3DHeader* )pPtr;
Can someone explain how the values from pPtr enter MS3DHeader ?
Does it just linearly fill up the m_ID array and then the m_version ?
Nitzan
-------------------------
www.geocities.com/nitzanw
www.scorchedearth3d.net
-------------------------
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement