C++ error: definition of implicitly-declared
Declare the parameterless constructor in the header file: You are defining it in the .cpp file without actually declaring it. But since the compiler provides such a constructor by default (if no other constructor is declared), the error clearly states that you are trying to define an implicitly-declared constructor.