Код: Выделить всё
#include
#include
#include
typedef std::chrono::high_resolution_clock Time;
typedef std::chrono::milliseconds ms;
float startTime;
float getCurrentTime();
int main () {
startTime = getCurrentTime();
std::cout
Подробнее здесь: [url]https://stackoverflow.com/questions/36751133/proper-method-of-using-stdchrono[/url]
Мобильная версия