Author: Rémi Coulom
Date: 09:16:53 05/11/05
Go up one level in this thread
On May 11, 2005 at 11:14:52, S J J wrote:
>I have not been able to find a C++ command that returns the time.
>Does anyone know of one?
>
>Thanks,
>Steve
The function is time:
#include <ctime>
#include <iostream>
int main()
{
std::cout << std::time(0) << '\n';
}
See also:
http://www.scit.wlv.ac.uk/cgi-bin/mansec?2+time
Rémi
This page took 0 seconds to execute
Last modified: Thu, 15 Apr 21 08:11:13 -0700
Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.