Teen Programmers Unite  
 

 

Return to forum top

Timer in c++

Posted by slipknotclown [send private reply] at January 02, 2002, 03:52:34 PM

What is the equivilent of the time function in C to c++? What does it do? I cant find a tutorial on it. (for c++)

Posted by Psion [send private reply] at January 02, 2002, 06:05:15 PM

Why can't you use time() in C++?

Posted by unknown_lamer [send private reply] at January 02, 2002, 08:06:48 PM

The C++ equivilant of the C time functions is..*drumroll* time. Or std::time if you #include <ctime> instead of time.h. Now that was hard.

Posted by DakeDesuDx [send private reply] at January 02, 2002, 08:43:44 PM

But does time return a timestamp or a String?

Posted by slipknotclown [send private reply] at January 03, 2002, 06:26:29 AM

I feel these forums would be better if people we not so arrogant and thought everyone had to be as good as them for everything hence sarcastic replys. Without mentioning any names

Posted by Psion [send private reply] at January 03, 2002, 10:47:07 AM

I don't think ul's response was too bad. I've seen a lot worse here. :-)

Posted by slipknotclown [send private reply] at January 05, 2002, 02:03:26 PM

I'll get used to it.

You must be logged in to post messages and see which you have already read.

Log on
Username:
Password:
Save for later automatic logon

Register as a new user
 
Copyright TPU 2002. See the Credits and About TPU for more information.