173k views
3 votes
You need to include the _____ directive in your program in order to use the time function.

1 Answer

5 votes
From Google:

"a built-in C++ function that returns the current time(according to your computer system's clock) as seconds elapsed since midnight on January 1, 1970; often used as the seed argument in the srand function; a program that uses the time function must contain the #include <ctime> directive"

I hope this helps you with your question
User Erwan Legrand
by
8.1k points

No related questions found