Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 I need help with a timer
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
MarkPro




PostPosted: Sat Jan 17, 2004 6:55 pm   Post subject: I need help with a timer

Hi, i need a timer for my game, but the thing is my game is in like 25 different loops(not literally) i need help on timing how long each loop takes and then adding all the timed loops after the last loop in the game. someone pleasee help me.


-If someone can do it using "timerunning" that would be great

Thanks in advance.

Mark.
Sponsor
Sponsor
Sponsor
sponsor
Tony




PostPosted: Sat Jan 17, 2004 7:01 pm   Post subject: (No subject)

can't you just use clock() at the end of the program to find out how long it took to get there?
Latest from compsci.ca/blog: Tony's programming blog. DWITE - a programming contest.
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 2 Posts ]
Jump to:   


Style:  
Search: