How to distinguish variables which have same ASCII character codes : As I said in title, how can I distinguish two variables which have same ASCII codes. In this code block, K's and left arrow key's ASCII codes are same, so when I type capital k case 75 works. How can I fix it? Also I got this problem with some other words.

     switch( ch2 = getch())
           {
                case 75: printf("LEFT WAS PRESSED\n");
                break;             
                default:
                for(i=' ';i<'}';i++)
                {
                    if(i == ch2)
                    {
                   blabla
                    }                
                break;      
            }