#ifdef _WIN32 #include #else #include #endif void wait(int time) { #ifdef _WIN32 Sleep(time*1000); #else sleep(time); #endif }