Linux下: #include <unistd.h> sleep(1); // 睡眠1秒 usleep(1); // 睡眠1微妙 转载于:https://www.cnblogs.com/LarryGen/p/5346364.html