//Displays the value of each keystroke //Created by Gilad "Speaker For The Dead" Barlev //Final Edit on 25/2/02 (D/M/Y) #include #include using namespace std; void main() {//main - main function //declare variables int getKey = 0; while (getKey != 13) {//while the user does not press ENTER cout << "Press any key" << endl; //get keystroke getKey = getch(); cout << getKey << endl; }//end while the user does nor press ENTER }//end of main function