Jump to content
  • Advertisement

Archived

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

Silly_con

Pointers to functions in a Struct

This topic is 5739 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 have read that is possible to do structures with pointers to functions, which works like classes, to the effect that they can store variables and functions. I don''t know very well how to do this, if someone have any example or chunk of code that makes this it would be to me a great help. Thanks

Share this post


Link to post
Share on other sites
Advertisement
I have the Q2 source code, but when I see it, I start feeling sick and getting confused, there aren''t more simply examples?

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!