Advertisement

Getting the system time in dos (C++)

Started by November 19, 2000 06:33 PM
0 comments, last by CHollman82 24 years, 1 month ago
How do I get the system time? I want to seed the random number generator with it.
codeXtremeif(you->intelligence < radish->intelligence) you->STFU();
time() is an ANSI C function that returns the number of seconds that have passed since Midnight January 1, 1970.

This topic is closed to new replies.

Advertisement