+ 1

In Python there is a time module. What is it in c++

11th Dec 2017, 10:50 PM
Ian Jordan Greeff
Ian Jordan Greeff - avatar
6 Respuestas
+ 1
Well Python also has datetime. So it depends on what purpose, even in C++ or C
12th Dec 2017, 12:07 AM
👑 Prometheus 🇸🇬
👑 Prometheus 🇸🇬 - avatar
+ 2
there are many e.g. ctime, chrono etc.
11th Dec 2017, 11:08 PM
---
--- - avatar
+ 2
google is your friend, but honestly you should probably learn c or c++ first...
11th Dec 2017, 11:22 PM
---
--- - avatar
+ 1
how do you use it
11th Dec 2017, 11:12 PM
Ian Jordan Greeff
Ian Jordan Greeff - avatar
+ 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>.
12th Dec 2017, 1:55 PM
Germain F
Germain F - avatar
0
I want my program to sleep for a set amount of time
12th Dec 2017, 11:24 AM
Ian Jordan Greeff
Ian Jordan Greeff - avatar