+ 1
In Python there is a time module. What is it in c++
6 Respuestas
+ 1
Well Python also has datetime.
So it depends on what purpose, even in C++ or C
+ 2
there are many e.g. ctime, chrono etc.
+ 2
google is your friend, but honestly you should probably learn c or c++ first...
+ 1
how do you use it
+ 1
c++ inherits the time library of C "time.h" as <ctime>. on its own, c++ has no time library. so all the function and types of the "time.h" are in <ctime>.
0
I want my program to sleep for a set amount of time