int _tmain(int argc, _TCHAR* argv[]) { PrintBanner(); srand(time(NULL)); //Keeps random color range between 0x09 and 0x0f int rndmColor = (rand() % 0x07) + 0x09; Slot *s = new Slot(rndmColor); s->PrintSlot(); while (1) { cout << endl << endl << "\t\tPress Space to Spin..."; do { } while (!(GetKeyState(VK_SPACE) & 0x8000)); s->Pull(); system("cls"); PrintBanner(); s->PrintSlot(); } return 0; }