// This is the program which give u the c++ code of any Key/Character like A, B, C, Space, Enter etc
# include<iostream>
# include<conio.h>
using namespace std;
void main()
{
int code, code1;
do{
char key = _getch();
code = key;
cout << key << " = " << code;
} while (code1 = 27);
}
No comments:
Post a Comment