std::this_thread::sleep_for(std::chrono::seconds(3)); //休眠三秒 std::this_thread::sleep_for(std::chrono:: milliseconds (100)); //休眠100毫秒