To record the time your program costs, you can use the function clock()
, that is defined in <ctime>
.
Here is an example showing how to use this function:
``` cpp How To Record Time
#include
```
To record the time your program costs, you can use the function clock()
, that is defined in <ctime>
.
Here is an example showing how to use this function:
``` cpp How To Record Time
#include
```