I already saw a question about it, more than one, but it did not really solve my problem. The code is bigger, but the problem is with this part. I have this thing:
int globalx=12;
int globaly=10;
void Function (int measurex, int measurey)
float thingx()
{
(((globalx/2)-measurex)/(globalx/2));
}
float totalx=globalx/(float)thingx;
float totaly=globaly/2;
and there is something wrong with it that returns that error. globalx and globaly are,as the name suggests, two global variables. What am I doing wrong here? How can I write something that does what I do intend to do here?