[ Date Index ][
Thread Index ]
[ <= Previous by date / thread ] [ Next by date / thread => ]
Thanks everyone, still stuck and don't really want to use another
method (must make friendly apps).
You can return decimals quite easily using the following (++)
function:
void get_ascii (void)
{
int key;
do {
key = getch ();
cout << "\n" << key;}
while (key != '\33'); //escape
}
but that returns (example)
0
72
for up - what's all that about anyway?
--
The Mailing List for the Devon & Cornwall LUG
Mail majordomo@xxxxxxxxxxxx with "unsubscribe list" in the
message body to unsubscribe.