Its usually because you have code outside the class in the namespace but you gotta show more of your code so I can see where the error is.
Your float line cannot be before the class line.
Move line 6 to line 10 and you should be good to go.
thank you
This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.