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

Username:   Password: 
 RegisterRegister   
 Resetting Time.Elapsed
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
mynameisbob




PostPosted: Sat Jul 17, 2004 12:35 am   Post subject: Resetting Time.Elapsed

is there anyway to reset Time.Elapsed without exiting the program?
i am trying to make a timer that starts at 20 then resets itself when it reaches zero. I can do it by subtracting from a variable every time it runs through the loop but i want it to be based on real time.
Sponsor
Sponsor
Sponsor
sponsor
Tony




PostPosted: Sat Jul 17, 2004 1:37 am   Post subject: (No subject)

umm... no... just measure the time using two different variables, and look for the difference between them.
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: