title: Expression Syntax in Function Error Help! C/C++
body: <p>Please help with my switch case I'm not sure on how I'm meant to put my functions in the cases. Do I keep the parameters in?</p>
  
  <pre><code>void ChoiceConvert(char unit){      
  
  char c, f;
  
  printf("Enter your choice for converting from Kelvin\n1. 'c' to convert to Celcius\n2. 'f' to convert to Farenheit");
  
  switch(unit)
  {
      case 'c':
          ConvertCel(int temp, const int Freeze);
          break;
      case 'f':
          ConvertFar(int temp, const int Freeze);
          break;
      default:
          printf("\n");       
  }
  
  return;}
  </code></pre>
  
  <p>This is the error I am getting.</p>
  
  <p>Error E2188 state.cpp 53: Expression syntax in function ChoiceConvert(char)</p>
  
  <p>Error E2188 state.cpp 56: Expression syntax in function ChoiceConvert(char)</p>