please; what is (#include <ctime>)for??

+3 votes
asked Dec 22, 2019 by (150 points)

1 Answer

0 votes
answered Jan 9 by (240 points)
This library was used as #include <time.h> in C, but in C++, many of the libraries you can write them without .h . The library time.h came from C, so C++ added a "c". ctime is a header file that has lots of functions related with time.
Welcome to OnlineGDB Q&A, where you can ask questions related to programming and OnlineGDB IDE and and receive answers from other members of the community.
...