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 5649 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.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!