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

Iron Eye

speed battle: structs and classes

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 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 now closed to further replies.