What does your .h file end with? I’m guessing that the end of your class defnition does not have a “;”. The class is being interpreted as the return type of the first function in your cpp file.
What does your .h file end with? I’m guessing that the end of your class defnition does not have a “;”. The class is being interpreted as the return type of the first function in your cpp file.