関数ポインターを割り当てようとすると、左辺値オペランドの問題が発生します。問題の正確な場所はわかりませんが、その特定の問題に関係するすべてのコードを提供します。
double *func(double); //initialization for a pointer to a function that both returns a double and requires a double
func = &xsquaredsinx; //trying to make the pointer point at a function that both returns a double and requires a double
func = &halfcircle;//others that are the same
func = &testfunction;
どんな助けでも素晴らしいでしょう。