You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 line
408 B

  1. #include <iostream>
  2. #include <chrono>
  3. //int main() {
  4. // auto now = std::chrono::duration_cast<std::chrono::seconds>(std::chrono::steady_clock::now().time_since_epoch()).count();
  5. // auto end = now + 5;
  6. //
  7. // // 输出当前时间点和未来时间点
  8. // std::cout << "Current time point: " << now << std::endl;
  9. // std::cout << "Future time point (+5 seconds): " << end << std::endl;
  10. //
  11. // return 0;
  12. //}