Skip to main content
gamedev.net
🔒 Locked

Class problem

Started by Metal Typhoon Aug 11, 2002 at 2:23 PM 1 replies 450+ views
Original Post
Metal Typhoon
Metal Typhoon
i saw the how to put a texture on a cube on nehe''s site but then i tried it to wrap it up on a class, but the function called AUX_DIBImageRec *LoadBMP (char filename) has a little problem... it ive me an erro at the following: AUX_DIBImageRec ClassName::LoadBMP (char *filename) ... it says it differs the return type.. i figured it out uc zof the pointer .. but how do i put a pointer there ???? ClassName::*LoadBMP wont work either ... thx in advance
Metal Typhoon
Metal Typhoon
SporadicFire
SporadicFire
it should be AUX_DIBImageRec * ClassName::LoadBMP(char *filename);
Metal Typhoon
Metal Typhoon
quote:
Original post by SporadicFire
it should be AUX_DIBImageRec * ClassName::LoadBMP(char *filename);


THX :D

Metal Typhoon
Metal Typhoon

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.