Jump to content
  • Advertisement

Archived

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

Iron Eye

speed battle: structs and classes

This topic is 5799 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''m making a simple console game, and I noticed when I was making a monster class that I could easily do away with all the functions in it, so, as far as I can see there''d be no difference between using a class to store all the monster info, or a structure, although using a structure did seem easier. As I''m nearing completetion I''ve become concerned for speed differences. I tried to use the code off cpp-home.com that they use to take the clock cycles of contest submissions, but I can''t get it to compile in Dec C++. Any input is welcome. -Iron Eye
Cyrus Eye design

Share this post


Link to post
Share on other sites
Advertisement

This topic is 5799 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.

Guest
This topic is now closed to further replies.

  • 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!