We recommend using Visual Studio 2017

<ctime>

 

The latest version of this topic can be found at <ctime>.

Includes the Standard C library header <time.h> and adds the associated names to the std namespace.

#include <ctime>  
  

Including this header ensures that the names declared using external linkage in the Standard C library header are declared in the std namespace.

Header Files Reference
STL Overview
Thread Safety in the C++ Standard Library

Show: