quote: Instead of doing your own DoUCase..... you can use _strupr(press) and continue.....I was using the following to convert a string to uppercase letters
DoUcasePress(char press[])
{
int a;
for (a = 0; a < strlen(press); a++)
{
press[a] = (toupper(press[a]));
}
return press[strlen(press)];
}