Original Post
typedef struct SPRITEHEAD_TAG
{
int width;
LPDIRECTDRAWSURFACE surface;
} SPRITEHEAD, *SPRITEHEAD_PTR;
This code is in a header file but won''t compile.
Here are the error messages:
d:\chip''s crap\programs\game engine\engine.h(18) : error C2146: syntax error : missing '';'' before identifier ''surface''
d:\chip''s crap\programs\game engine\engine.h(18) : error C2501: ''LPDIRECTDRAWSURFACE'' : missing storage-class or type specifiers
d:\chip''s crap\programs\game engine\engine.h(18) : error C2501: ''surface'' : missing storage-class or type specifiers
I JUST DON''T GET IT!!!!!! HELP!