Archived

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

speed battle: structs and classes

This topic is 5516 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

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