title: Preprocessor define functions expected an expression
body: <p>I have tried to do this kind of define:</p>
  
  <pre><code>#define Math.Pow(a,b) (int result=1; for (int i=0; i&lt;b; i++) result*=a; return result;)
  </code></pre>
  
  <p>and When I'm using <code>Math.Pow(a,b)</code> in the code, I get an error:</p>
  
  <blockquote>
    <p>expected an expression.</p>
  </blockquote>
  
  <p>I tried to put this definition in another function, such as</p>
  
  <pre><code>int Power(int a, int b)
  {int result=1; for (int i=0; i&lt;b; i++) result*=a; return result;}
  </code></pre>
  
  <p>and then</p>
  
  <pre><code>#define Math.Pow(a,b) (Power(a,b))
  </code></pre>
  
  <p>but I got the same error.</p>