title: How to label different f key pressings in conio.h?
body: <pre><code>#include &lt;stdio.h&gt;
  #include &lt;conio.h&gt;
  
  
  int main() {
      int ch = getch();
     // printf (&quot;%d&quot; , ch);
      switch (ch){
          case 13:
              printf(&quot;ENTER&quot;);
             break;
          case 224:
              printf(&quot;LEFT ARROW&quot;);
              break;
          case  45 :
              printf(&quot;LOWERCASE LETTER&quot;);
              break;
          case  27 :
              printf(&quot;ESC&quot;);
               break;
          case  48 :
              printf (&quot;digit&quot;);
              break;
          case 49   :
              printf(&quot;digit&quot;);
               break;
          case 50  :
              printf(&quot;digit&quot;);
               break; 
          case  51  :
              printf(&quot;digit&quot;);
               break;
          case   52 :
              printf(&quot;digit&quot;);
               break; 
          case  53  :
              printf(&quot;digit&quot;);
               break;
          case  54  :
              printf(&quot;digit&quot;);
               break;     
          case   55 :
              printf(&quot;digit&quot;);
               break;
          case 56  :
              printf(&quot;digit&quot;);
               break; 
          case 57 :
              printf(&quot;digit&quot;);
               break;
          
          
      }
      
  }
  </code></pre>
  <p>I am trying to label different keyboard inputs but I was not able to label different f key pressings as well as arrow keys since it returns the same int value. How can I label different F key pressings</p>
  <p>This is a filler line to bypass stackoverflows unnecessary filters</p>