0
Time/frames
How can I calculate time difference in C++?
1 Antwort
0
Используя библиотеку ctime. Например так:
#include <iostream>
#include <ctime>
using namespace std;
int main() {
time_t t = time(0);
cout << ctime(&t);
return 0;
}
How can I calculate time difference in C++?