title: lvalue required as left operand of assignment (not a "use == " )
body: <p>I have a lvalue operand problem when trying to assign a function pointer. I don't know where the problem is exactly, but I'll give you all the code that has to do with that specific problem.</p>
  
  <pre><code>    double *func(double); //initialization for a pointer to a function that both returns a double and requires a double
  
      func = &amp;xsquaredsinx; //trying to make the pointer point at a function that both returns a double and requires a double
      func = &amp;halfcircle;//others that are the same
      func = &amp;testfunction;
  </code></pre>
  
  <p>Any help would be wonderful.</p>