Detected 5 occurrence(s) of ‘GetAsyncKeyState\(‘: K_DOWN) & SHRT_MAX) { row++; move(screen, row, col); system("CLS"); show(); } else if (GetAsyncKeyState(VK_LEFT) & SHRT_MAX) { col--; move(screen, row, col); system("CLS"); show(); } else if (GetAsyncKeyState(VK_RIGHT) & SHRT_MAX) { col++; move(screen, row, col); system("CLS"); show(); } } cout << endl; system("PAUSE"); return 0; } Source: http://pastebin.com/raw.php?i=Um0q4RGg
↧