#include #include #include void clear() { #if defined(__linux__) || defined(__unix__) || defined(__APPLE__) system("clear"); #endif #if defined(_WIN32) || defined(_WIN64) system("cls"); #endif } void delay(unsigned int milliseconds) { clock_t start = clock(); while((clock() - start)*1000.0f/CLOCKS_PER_SEC < milliseconds); }