title: warning: passing argument 1 of ‘gets’ makes pointer from integer without a cast [enabled by default]
body: <p>I have read other posts that get the "makes pointer from integer w/o cast" error but I am confused about exactly what it means. Is it saying that the function <code>gets</code> makes the int variable <code>input</code> a pointer by default if I don't cast (cast meaning say <code>gets ((int) input</code>) )? </p>
  
  <pre><code>int directions() 
  {   
      int input;
  
      printf("Type '1', '2', etc to see a problem or type '(add an 'all' option to see a     list of all the problems)\n");
      gets( input);
  
      switch ( input) {
          case 1: euler1();
          case 2: euler2();
      }
  
      return input;
  }
  
  int main()
  {   
      printf("Welcome to Project Euler's Problems in C!\n");
      directions();
  
      return 0;
  }
  </code></pre>