title: C: Errors with Parentheses
body: <p>So I'm writing a series of functions, and then I try to compile, I get errors talking about parentheses. I've looked over my code, and I can't find any mismatched parenthesis. Can anyone tell me what I'm doing wrong></p>
  
  <pre><code>int str_to_int(char* str)
  {
    int sum = 0;
    int x;
  
    for(x=strlen(str) ; x&gt;=2 ; x--) {
  
      if(30 &lt;= str[x] &lt;= 39) {
        sum += raise16((str[x] - 30) x);
      };
  
      if(41 &lt;= str[x] &lt;= 46) {
        sum += raise16((str[x] - 41) x);
      };
  
      if(61 &lt;= str[x] &lt;= 66) {
        sum += raise16((str[x] - 61) x);
       };
    }
  
    return sum;
  }
  </code></pre>