title: using (char*) in switch statement
body: <p>I am new in C programming language and have an (if statement) and need to transfer it into switch statement.
  My problem is that I have a field named (node_kind) of char* type and I compare it's content in the if statement using (strcmp) but I don't know how to do that in the switch statement.
  Would you plz tell me how ?
  Here is a short quote of my program </p>
  
  <pre><code>if (strcmp(node-&gt;node_kind, "VAR_TOKEN_e") == 0) 
      job = visitor-&gt;visitjob_VAR_TOKEN; 
  if (strcmp(node-&gt;node_kind, "INT_e") == 0) 
      job = visitor-&gt;visitjob_int; 
  if (strcmp(node-&gt;node_kind, "BOOL_e") == 0) 
      job = visitor-&gt;visitjob_bool; 
  </code></pre>