Archived

This topic is now archived and is closed to further replies.

Class problem

This topic is 5638 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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

Share this post


Link to post
Share on other sites
quote:
Original post by SporadicFire
it should be AUX_DIBImageRec * ClassName::LoadBMP(char *filename);


THX :D

Metal Typhoon

Share this post


Link to post
Share on other sites