Syntax: After #include<ctime> as header, write time(0) OR time(NULL) in the body of program.
The manpage states that, «
time() returns the time as the number of seconds since the Epoch, 1970-01-01
00:00:00 +0000 (UTC). »
Platform for learning C++. Extremely useful Articles & quick Answering service.
No comments:
Post a Comment