c++ 暂停2秒,等待2秒

 

 

std::chrono::milliseconds stopTime(2000);
std::this_thread::sleep_for(stopTime);

 

posted @ 2023-06-18 22:33  十一的杂文录  阅读(89)  评论(0编辑  收藏  举报