title: comparison between pointer and integer [enabled by default]
body: <p>I want to check result with geo_analyzer function using by check_line and check_triangle. Thank you for appreciated answers. I don't know why I get the error. Besides I compile on ubuntu
  I get error here</p>
  
  <pre><code>if(check_line==1)    
  return 1; // line
  
  if(check_triangle==1)
  
  return 2; //triangle
  </code></pre>
  
  <p>code of the function in function</p>
  
  <pre><code>double calculateSlop(double a,double b,double c,double d){
  
      return (d-c)/(b-a); // like (y2-y1)/(x2-x1)
  }
  
  int geo_analyzer( double p1_x, double p1_y, double p2_x, double
      p2_y, double p3_x, double p3_y, double p4_x, double p4_y){
  
          double m1,m2,m3;
  
          m1=calculateSlop(p1_x,p2_x,p1_y,p2_y);
          m2=calculateSlop(p2_x,p3_x,p2_y,p3_y);
          m3=calculateSlop(p3_x,p4_x,p3_y,p4_y);
  
          if(check_line==1){
          return 1; // line
          }
          if(check_triangle==1){
          return 2; //triangle
      }
  }
  </code></pre>