this is the relevant section of a piece of code I am having trouble with.
The compiler returns with a syntax error before the '.' in waypointDef.waypoints[]. I have tried the same code without that line and it compiles fine. Can someone find my error?Code:struct waypointDef; struct waypointDef waypoints[]; waypointDef.waypoints[] = { { (-800000000 - longin1) , (370000000 + latin1), 75 } , F_ABSOLUTE };